July 29 2014 TC39 Meeting Notes

Erik Arvidsson erik.arvidsson at gmail.com
Wed Aug 6 05:59:17 PDT 2014


On Wed, Aug 6, 2014 at 7:27 AM, Mathias Bynens <mathias at qiwi.be> wrote:

> On 5 Aug 2014, at 18:30, Rick Waldron <waldron.rick at gmail.com> wrote:
>
> > - Spread now works on strings `var codeUnits = [..."this is a string"]`
>
> The code example implies it results in an array of strings, one item for
> each UCS-2/UTF-16 code unit. Shouldn’t this be symbols matching whole
> Unicode code points (matching `StringIterator`) instead, i.e. no separate
> items for each surrogate half?
>

Spread is done using iterators so the StringIterator will be used.

-- 
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140806/4277fcc0/attachment.html>


More information about the es-discuss mailing list