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

Mathias Bynens mathias at qiwi.be
Fri Feb 14 02:37:16 PST 2014

On 14 Feb 2014, at 11:11, Domenic Denicola <domenic at domenicdenicola.com> wrote:

> This was the method that was only useful if you pass `0` to it?

I’ll just avoid the infinite loop here by pointing to earlier posts in this thread where this was discussed before: <http://esdiscuss.org/topic/string-prototype-symbolat-improved-string-prototype-charat#content-34> and <http://esdiscuss.org/topic/string-prototype-symbolat-improved-string-prototype-charat#content-40>.

This method is just as useful as `String.prototype.codePointAt`. If that method is included, so should `String.prototype.at`. If `String.prototype.at` is found not to be useful, `String.prototype.codePointAt` should be removed too.

More information about the es-discuss mailing list