Norbert Lindenberg (2013-08-26T02:08:02.000Z)
On Aug 24, 2013, at 23:43 , Mathias Bynens <mathias at qiwi.be> wrote:

> I would suggest adding something like `String.isIdentifier` which accepts a multi-symbol string or an array of code points to the strawman. Seems useful to be able to do `String.isIdentifier('foobar')`

What would be the use case(s) for that? Would it accept only an actual identifier or all possible escaped forms of one (i.e., only "𠮷野家" or also "\u{20BB7}野\u5BB6")?

Norbert
domenic at domenicdenicola.com (2013-08-29T23:30:50.593Z)
On Aug 24, 2013, at 23:43 , Mathias Bynens <mathias at qiwi.be> wrote:

> I would suggest adding something like `String.isIdentifier` which accepts a multi-symbol string or an array of code points to the strawman. Seems useful to be able to do `String.isIdentifier('foobar')`

What would be the use case(s) for that? Would it accept only an actual identifier or all possible escaped forms of one (i.e., only "𠮷野家" or also "\u{20BB7}野\u5BB6")?