Open bakkot opened 7 years ago
The template literal revision proposal reached stage 3 in July.
This allows
(function(strs) { return strs[0] === undefined && strs.raw[0] === '\\u{invalid}\\1\\xGG'; })`\u{invalid}\1\xGG`; // true
etc. Invalid escapes remain a syntax error in untagged templates.
(Not in the official spec yet so I'm removing the ES Spec Changed tag.)
It's now stage 4, which means it'll land in ecma262 master as soon as bterlson gets around to it.
The template literal revision proposal reached stage 3 in July.
This allows
etc. Invalid escapes remain a syntax error in untagged templates.