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

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


On Oct 18, 2013, at 4:01 PM, Allen Wirfs-Brock wrote:

> 
> On Oct 18, 2013, at 1:29 PM, Allen Wirfs-Brock wrote:
>> 
>> Array.from( '𝌆𝌆𝌆'))[1]
> 
> maybe even better:
> 
> Uint32Array.from( '𝌆𝌆𝌆'))[1]

err...maybe not if you want a string value:

String.fromCodePoint(Uint32Array.from( '𝌆𝌆𝌆')[1])


More information about the es-discuss mailing list