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

Brendan Eich brendan at mozilla.org
Sat Nov 15 23:12:10 PST 2014


Boris Zbarsky wrote:
> On 11/15/14, 11:47 AM, Allen Wirfs-Brock wrote:
> - hide quoted text -- show quoted text -
>> 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....

Perhaps a one-off exception?

Are you confident this change is web-compatible?

/be


More information about the es-discuss mailing list