ArrayClass should imply @@isConcatSpreadable

Anne van Kesteren annevk at annevk.nl
Mon Oct 28 16:13:23 PDT 2013


On Mon, Oct 28, 2013 at 8:20 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> In terms of existing ArrayClass objects that are shipping on the web right
> now, Gecko is shipping (though perhaps not in final releases yet) the .ports
> of a MessageEvent and the return value of getClientRects(). I _think_
> changing the concat() behavior of these should be OK. Certainly for .ports,
> which we haven't been shipping for very long at all.
>
> Thoughts?

Could we still change those to actual arrays? I guess for .ports that
might be trickier as it implies a readonly view. ArrayClass feels like
a hack.


-- 
http://annevankesteren.nl/


More information about the es-discuss mailing list