Re: FW: Unicode Escape sequences for keywords, what's the correct behaviour?
On 21 March 2013 11:04, BelleveInvis <[hidden email]> 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?
In Chrome 25, `\u0076\u0061\u0072 a` throws a syntax error, means that Chrome treat escape sequences as identifier. Though IE10 runs `\u0076\u0061\u0072 a` well, shows that it treat `\u0076\u0061\u0072` a keyword. Hmmmmmmm, perhaps I should establish an issue for Chrome.
es-discuss mailing list
[hidden email] https://mail.mozilla.org/listinfo/es-discuss