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

Alan Schmitt alan.schmitt at polytechnique.org
Mon Aug 5 00:54:08 PDT 2013


Hello,

es-discuss at michael.ficarra.me writes:

> It has recently come to my attention that, though Object.prototype is in
> the prototype chain of the global object in all interpreters I've ever
> used, the [[Prototype]] of the global object is actually unspecified. My
> question: was this property intentionally unspecified to allow for
> interpreters to use other objects (or null) as the [[Prototype]] of the
> global object? If so, it'd be great to add a note to the spec. If not, I'd
> be glad to open a bugzilla bug to correct the omission. Either way, I think
> the spec should explicitly mention this value.

Here is the related bug report for the test262 test that also assumes
this.

https://bugs.ecmascript.org/show_bug.cgi?id=1600

Best regards,

Alan Schmitt


More information about the es-discuss mailing list