From e6152a97e8feb5e58f8e5ac04a5c03c1f5114ef6 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 9 Jan 2017 12:06:31 -0800 Subject: [PATCH] Fix syntax typo. --- _hasUnicode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_hasUnicode.js b/_hasUnicode.js index ba37a3236..359a7e7fe 100644 --- a/_hasUnicode.js +++ b/_hasUnicode.js @@ -10,7 +10,7 @@ var rsAstralRange = '\\ud800-\\udfff', var rsZWJ = '\\u200d'; /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ -var reHasUnicode = RegExp(`[${ rsZWJ + rsAstralRange + rsComboRange + rsVarRange }]`; +var reHasUnicode = RegExp(`[${ rsZWJ + rsAstralRange + rsComboRange + rsVarRange }]`); /** * Checks if `string` contains Unicode symbols.