Intrinsic Name | -Global Name | -ECMAScript Language Association | -
---|---|---|
%Realm% | -Realm |
- … | -
%RealmPrototype% | -Realm.prototype |
- … | -
Intrinsic Name | +Global Name | +ECMAScript Language Association | +
---|---|---|
%Realm% | +`Realm` | +The Realm constructor ( |
+
The Realm constructor:
When the `Realm` function is called with no arguments, the following steps are taken:
The Realm constructor:
+The value of the [[Prototype]] internal slot of the *Realm* constructor is the intrinsic object %FunctionPrototype%.
+The initial value of *Realm.prototype* is %Realm.prototype%.
+This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.
+The Realm prototype object:
+The following steps are taken:
- +The following steps are performed:
Realm.prototype.globalThis is an accessor property whose set accessor function is *undefined*. Its get accessor function performs the following steps:
The initial value of the @@toStringTag property is the String value "Realm".
- -This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }.
+This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
Realm instances are ordinary objects that inherit properties from the Realm prototype object (the intrinsic, %Realm.prototype%). Realm instances are initially created with the internal slots described in
Realm instances are ordinary objects that inherit properties from the Realm prototype object (the intrinsic, %RealmPrototype%). Realm instances are initially created with the internal slots described in