`String.prototype.symbolAt()` (improved `String.prototype.charAt()`)

Allen Wirfs-Brock allen at wirfs-brock.com
Fri Oct 18 13:29:15 PDT 2013


On Oct 18, 2013, at 1:12 PM, Andrea Giammarchi wrote:

> fair enough, that was my point about 
> 
> > except for RAM and CPU, life is going to be easier for devs
> 
> so my counter-question would be: is there any way to do that in core so that we can “💩💩💩”.split() it so that we can have an ArrayLike that with [1] gives back the single “💩” and not the whole thing ?

Array.from( '𝌆𝌆𝌆'))[1]

Allen


More information about the es-discuss mailing list