'\u' c.f. ECMA 262 section 7.8.4

Dominic Cooney dominic.cooney at gmail.com
Mon Feb 18 14:43:21 PST 2008


There's a comment on the triple-quoted string proposal that hints at
"\u" meaning "u"; and a couple of implementations I tried (Rhino and
Safari) implement this. But reading ECMA 262 section 7.8.4 it looks
like that is invalid, since u is an EscapeCharacter but not a
SingleEscapeCharacter.

This is trivia, but perhaps ES4 should explicitly allow "\u".

Dominic



More information about the Es4-discuss mailing list