Unicode support in new ES6 spec draft

Allen Wirfs-Brock allen at wirfs-brock.com
Mon Jul 16 16:44:25 PDT 2012

On Jul 16, 2012, at 2:57 PM, Mark Davis ☕ wrote:

> In order to support backwards iteration (which is sometimes used), we should have codePointBefore.

or we can provide a backwards iterator that knows how to parse surrogate pairs:
    for (let c of str.backwards) ...


> Mark
> — Il meglio è l’inimico del bene —

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120716/c7fe1cbe/attachment.html>

More information about the es-discuss mailing list