es6-transpiler icon indicating copy to clipboard operation
es6-transpiler copied to clipboard

Bug with regexp polyfilling

Open yernende opened this issue 10 years ago • 0 comments

Double quotes are not preceded by backslash when literal notation of regular expressions is converted to constructor notation.

/"word"/y; //is converted to new RegExp(""word"", "y")

yernende avatar Oct 18 '14 12:10 yernende