ES6 draft, Rev20 is now available

Boris Zbarsky bzbarsky at MIT.EDU
Wed Oct 30 10:51:26 PDT 2013


On 10/30/13 7:57 AM, Anne van Kesteren wrote:
> On Tue, Oct 29, 2013 at 4:50 PM, Allen Wirfs-Brock
> <allen at wirfs-brock.com> wrote:
>> Spread now requires an Iterable rather than an array-like
>
> This is different from how sequence<T> behaves in IDL. (It uses array-likes.) :/

We could change that if we change all DOM arraylikesto be iterables 
(which they already are, I suspect).

The biggest compat issue will be cases that pass { "length": 1, 0: "x" } 
to a sequence<DOMString> or something, but do people do this in practice?

-Boris



More information about the es-discuss mailing list