Array.prototype.slice web-compat issue?

Boris Zbarsky bzbarsky at MIT.EDU
Tue Sep 10 18:08:24 PDT 2013


On 9/10/13 8:50 PM, Allen Wirfs-Brock wrote:
> And what does [[Class]] == "Array" actually tell you?

What will happen when you structured clone or JSON.stringify the object, 
the length invariant, and what happens if you pass it as an argument to 
Array.prototype.concat are the main things.

>    2) whether an object inherits from Array.prototype

That one tells you nothing about any of the four things above, indeed.

-Boris


More information about the es-discuss mailing list