Array.isArray(new Proxy([], {})) should be false (Bug 1096753)
Boris Zbarsky
bzbarsky at mit.edu
Thu Nov 13 08:29:49 PST 2014
On 11/13/14, 6:44 AM, Andreas Rossberg wrote:
> Well, the actual diabolic beast and universal foot gun in this example
> is setPrototypeOf. ;)
Note that there is at least some discussion within Mozilla about trying
to make the prototype of Object.prototype immutable (such that
Object.getPrototypeOf(Object.prototype) is guaranteed to always return
the same thing, modulo someone overriding Object.getPrototypeOf), along
with a few other things along those lines. See
<https://bugzilla.mozilla.org/show_bug.cgi?id=1052139>.
Whether this is web-compatible, we'll see.
-Boris
More information about the es-discuss
mailing list