FW: Unicode Escape sequences for keywords, what's the correct behaviour?

Andreas Rossberg rossberg at google.com
Thu Mar 21 04:35:16 PDT 2013


On 21 March 2013 11:04, BelleveInvis <infinte.cdda at hotmail.com> wrote:
> If a keyword represented as unicode escape sequences, should it interpreted as identifier or keyword?
>
> Example code:
>
>     \u0076\u0061\u0072 a
>
> Should it throw a syntax error?

Not entirely clear. There is a bug for it:

https://bugs.ecmascript.org/show_bug.cgi?id=277

/Andreas


More information about the es-discuss mailing list