is [[Prototype]] of global object intentionally unspecified?

Brendan Eich brendan at mozilla.com
Mon Aug 5 11:11:54 PDT 2013


David Bruant wrote:
> Le 05/08/2013 17:08, Brendan Eich a écrit :
>> Michael Ficarra wrote:
>>> specified that the global object's prototype chain must include 
>>> Object.prototype. I am sure there's plenty of code that depends on 
>>> that.
> Concern shared.
>
>> Yes, that's required.
> Would it make sense to leave ECMAScript spec intact (global's 
> [[Prototype]] is implementation-dependent),

No, we want interop across, e.g., Node.js and browsers, on such 
"features" as whether toString resolves as a global reference.

/be



More information about the es-discuss mailing list