On 25 Aug 2013, at 04:17, Norbert Lindenberg
ecmascr...@lindenbergsoftware.com wrote:
I don't think that's a technical problem. String.isIdentifier{Start,Part}, as
I proposed them, don't deal with actual identifiers in source text; they
check individual identifier characters.
The
I don't think you'll want to have divergent behavior for construct vs. call
with new APIs. I believe that would go against Allen's approach for new
ES6 built in classes, and beyond that, it unnecessarily overloads the API
surface. Different operations ought to have different names.
{ Kevin }
On Aug 24, 2013, at 23:43 , Mathias Bynens math...@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
3 matches
Mail list logo