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

Tom Van Cutsem at
Wed Nov 12 23:09:19 PST 2014

2014-11-12 20:37 GMT+01:00 Kevin Smith <zenparsing at>:

> 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?

This auto-unwrapping for internal slots used to be part of an early
iteration of direct proxies <>
but was not carried over into the ES6 spec. IIRC, mainly because just
forwarding any internal slot access endangers the encapsulation properties
of membrane-like use cases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list