Array.isArray(new Proxy([], {})) should be false (Bug 1096753)

Jeremy Martin jmar777 at
Wed Nov 12 11:58:39 PST 2014

> My opinion is that array testing is fundamental to core JS and is worth
> the exception.

Knowing that Array.isArray() tests fail for proxies, I'd be afraid to ever
create a Proxy for an array that I don't control the complete lifecycle of.
That seems to critically inhibit the usefulness of Proxies, especially when
transparency seems to have been an intended characteristic of them going
all the way back to the strawman days.

On Wed, Nov 12, 2014 at 2:37 PM, Kevin Smith <zenparsing at> wrote:

> In general, it appears that SM unwraps proxies so that internal slot
> access is transparently forwarded.  I don't see any such unwrapping in the
> ES spec though.  I assume that the spec is correct?
> _______________________________________________
> es-discuss mailing list
> es-discuss at

Jeremy Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list