New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lift template escape sequence restrictions in tagged templates #2344

bakkot opened this Issue Jan 10, 2017 · 2 comments


None yet
2 participants
Copy link

bakkot commented Jan 10, 2017

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.

@bakkot bakkot referenced this issue Jan 10, 2017


Implementations #5

4 of 5 tasks complete

@dilijev dilijev added this to the Backlog milestone Jan 10, 2017


This comment has been minimized.

Copy link

dilijev commented Jan 10, 2017

(Not in the official spec yet so I'm removing the ES Spec Changed tag.)


This comment has been minimized.

Copy link

bakkot commented Mar 27, 2017

It's now stage 4, which means it'll land in ecma262 master as soon as bterlson gets around to it.

@dilijev dilijev added the Task label Mar 27, 2017

@dilijev dilijev modified the milestones: Backlog, vNext Jun 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment