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

Brendan Eich brendan at
Mon Nov 17 19:02:23 PST 2014

Allen Wirfs-Brock wrote:
>         if (isProxy(obj)) return isArray(getProxyTarget(obj)); //Array.isArray(new Proxy(Object.create(Array.prototype), {}))
>         //I'm not sure that the above line is really a compat. issue. I'd prefer to leave it out.

Please do -- it contradicts the righteous goal.


More information about the es-discuss mailing list