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

Reply via email to