On Wed, Aug 6, 2014 at 7:27 AM, Mathias Bynens <[email protected]> wrote:

> On 5 Aug 2014, at 18:30, Rick Waldron <[email protected]> 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
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to