Unicode non-character being treat as space on Firefox/Chrome

Allen Wirfs-Brock allen at wirfs-brock.com
Thu May 25 15:58:49 UTC 2017

clause 10.1: 

ECMAScript code is expressed using Unicode. ECMAScript source text is a sequence of code points. All Unicode code point values from U+0000 to U+10FFFF, including surrogate code points, may occur in source text where permitted by the ECMAScript grammars.

https://tc39.github.io/ecma262/#sec-white-space <https://tc39.github.io/ecma262/#sec-white-space> exactly defines which specific code units are treated as Whitespae by the ECMAScript grammar. It does not include unassigned code points in the set of valid Whitespace


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170525/a7e073b8/attachment.html>

More information about the es-discuss mailing list