diff --git a/spec.html b/spec.html index 6f55c736227..45cdc174326 100644 --- a/spec.html +++ b/spec.html @@ -2132,6 +2132,17 @@

Well-Known Intrinsic Objects

The initial value of the `prototype` data property of %Generator% + + + %GlobalThisValue% + + + `globalThis` + + + The initial value of the `globalThis` property of the global object + + %Int8Array% @@ -6207,11 +6218,12 @@

CreateIntrinsics ( _realmRec_ )

SetRealmGlobalObject ( _realmRec_, _globalObj_, _thisValue_ )

The abstract operation SetRealmGlobalObject with arguments _realmRec_, _globalObj_, and _thisValue_ performs the following steps:

+ 1. Let _intrinsics_ be _realmRec_.[[Intrinsics]]. 1. If _globalObj_ is *undefined*, then - 1. Let _intrinsics_ be _realmRec_.[[Intrinsics]]. 1. Set _globalObj_ to ObjectCreate(_intrinsics_.[[%ObjectPrototype%]]). 1. Assert: Type(_globalObj_) is Object. 1. If _thisValue_ is *undefined*, set _thisValue_ to _globalObj_. + 1. Set _intrinsics_.[[%GlobalThisValue%]] to _thisValue_. 1. Set _realmRec_.[[GlobalObject]] to _globalObj_. 1. Let _newGlobalEnv_ be NewGlobalEnvironment(_globalObj_, _thisValue_). 1. Set _realmRec_.[[GlobalEnv]] to _newGlobalEnv_. @@ -24184,6 +24196,12 @@

Math

Reflect

See .

+ + +

globalThis

+

The initial value of `globalThis` is the well-known intrinsic object %GlobalThisValue%.

+

This property has the attributes { [[Writable]]: *true*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.

+