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

Boris Zbarsky bzbarsky at mit.edu
Sat Nov 15 16:37:02 PST 2014


On 11/15/14, 11:47 AM, Allen Wirfs-Brock wrote:
> Actually the ES6 semantics does allow for this.  The global object would have t be implemented as a new kind of implementation specific exotic object whose [[SetPrototypeOf]] internal method always returns false.

That works for the global object (which is an exotic object anyway in 
browsers, because it has Web IDL branding of various sorts), but not for 
Object.prototype....

-Boris


More information about the es-discuss mailing list