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

Domenic Denicola domenic at domenicdenicola.com
Fri Oct 18 22:53:13 PDT 2013


On 19 Oct 2013, at 01:12, "Mathias Bynens" <mathias at qiwi.be> wrote:
> `String.prototype.codePointAt` or `String.prototype.at` come in handy in case you only need to get the first code point or symbol in a string, for example.

Are they useful for anything else, though? For example, if I wanted to get the second symbol in a string, how would I do that?



More information about the es-discuss mailing list