You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new Unicode "code point escape" form is also valid for identifiers, such as:
var\u{2B400}=42;
AFAICT, no one has implemented this part of the grammar yet. As usual, @mathiasbynens has a bunch of great stuff about what makes a valid Unicode identifier in ES6 vs ES5, etc.
BTW:
I'm not sure, but support of this feature may just need to be that such variables are straight up hygenically renamed to something else entirely, because there's (AFAICT) no equivalent way to do those kind of identifier names in pre-ES6.
Will take a little longer than I hoped since acorn is radically changing it's structure and will require me to rewrite all the custom acorn extensions (ES7, Flow etc). Once acornjs/acorn#216 is merged I should be able to nut through it in a day.
Activity
sebmck commentedon Mar 4, 2015
Please request this upstream at acorn.
getify commentedon Mar 4, 2015
acornjs/acorn#214
mathiasbynens commentedon Mar 5, 2015
acornjs/acorn#214 and acornjs/acorn#215 are now fixed.
sebmck commentedon Mar 6, 2015
Will take a little longer than I hoped since acorn is radically changing it's structure and will require me to rewrite all the custom acorn extensions (ES7, Flow etc). Once acornjs/acorn#216 is merged I should be able to nut through it in a day.
sebmck commentedon Mar 18, 2015
Fixed in the
experimentalbranch.getify commentedon Mar 18, 2015
is this going to stay only in "experimental" mode?
sebmck commentedon Mar 18, 2015
No, the
experimentalbranch is the current unstable branch (terrible name I know).getify commentedon Mar 18, 2015
ahh, ok, sorry for misunderstanding. thanks! :)