Mathias Bynens (2013-08-24T21:19:54.000Z)
domenic at domenicdenicola.com (2013-08-29T23:29:26.633Z)
On 24 Aug 2013, at 22:13, Norbert Lindenberg <ecmascript at lindenbergsoftware.com> wrote: > I do think it's confusing that \uD87E\uDC00 is not allowed in the current ES6 spec, and have reported this as part 4 of > https://bugs.ecmascript.org/show_bug.cgi?id=501 Agreed. It would make much more sense to just treat `\u{2F800}` and `\uD87E\uDC00` exactly the same way, even outside of string contexts. > You should not expect that a program using new ES6 features will run on ES5 implementations (although it might run on some that have already added the ES6 features used). I just want to make sure it’s possible to write a polyfill (in ES5) for the `String.isIdentifier{Start,Part}` strawman. As long as `String.isIdentifierStart('\uD87E\uDC00')` and `String.isIdentifierStart('\u{2F800}')` are expected to return different results (as Allen suggests), this is impossible.