Why should e.g. '\u2xao' throw an error? I can’t find this in the spec, but
Test262 actually has a test for this behavior so I must be missing
something obvious.

I know `UnicodeEscapeSequence` is defined as follows:

    UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit

But since `x` is not a `HexDigit`, I’d expect '\u2xao' to equal 'u2xao',
i.e. `\u` is an escape for `u` and the rest of the string is nothing
special.

Thanks in advance,
Mathias
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to