Also, what about the non-reserved words that act like reserved words, i.e. the immutable `NaN`, `Infinity`, and `undefined` properties of the global object, or `eval` and `arguments` which are disallowed as identifiers (see section 12.2.1) in strict mode? IMHO, these are examples of why it would be useful to add a robust `String.isIdentifier` to the proposal. _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
- Re: Identifying ECMAScript identifiers Yusuke SUZUKI
- Re: Identifying ECMAScript identifiers gaz Heyes
- Re: Identifying ECMAScript identifiers Ariya Hidayat
- Re: Identifying ECMAScript identifiers gaz Heyes
- Re: Identifying ECMAScript identifiers Norbert Lindenberg
- Re: Identifying ECMAScript identifiers Yusuke SUZUKI
- Re: Identifying ECMAScript identifiers Allen Wirfs-Brock
- Re: Identifying ECMAScript identifiers Peter van der Zee
- Re: Identifying ECMAScript identifiers Norbert Lindenberg
- Re: Identifying ECMAScript identifiers Mathias Bynens
- Re: Identifying ECMAScript identifiers Mathias Bynens