You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Loader constructor is the initial value of the Loader property of the the Reflect object. When called as a constructor it creates and initializes a new Loader object. Loader is not intended to be called as a function and will throw an exception when called in that manner.
166
+
The Loader constructor is the %Loader% intrinsic object and the initial value of the <b>Loader</b> property of the the Reflect object. When called as a constructor it creates and initializes a new Loader object. When <b>Loader</b> is called as a function rather than as a constructor, it throws an exception.
182
167
183
-
The Loader constructor is designed to be subclassable. It may be used as the value in an extends clause of a class definition. Subclass constructors that intend to inherit the specified Loader behaviour must include a super call to the Loader constructor to create and initialize the subclass instance with the internal stage necessary to support the Loader.prototype built-in methods.
168
+
The <b>Loader</b> constructor is designed to be subclassable. It may be used as the value of an <b>extends</b> clause of a class definition. Subclass constructors that intend to inherit the specified <b>Loader</b> behaviour must include a <b>super</b> call to the <b>Loader</b> constructor to create and initialize the subclass instance with the corresponding internal slots.
184
169
185
170
<h4 id="new-loader">Loader()</h4>
186
171
187
172
When Loader is called with no arguments, the following steps are taken:
188
173
189
174
<emu-alg>
190
175
1. If NewTarget is *undefined*, then throw a *TypeError* exception.
191
-
1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, "Loader.prototype").
176
+
1. Let _O_ be ? OrdinaryCreateFromConstructor(NewTarget, "%LoaderPrototype%").
192
177
1. Set _O_’s [[Registry]] internal slot to CreateRegistry().
193
178
1. Return _O_.
194
179
</emu-alg>
@@ -199,17 +184,17 @@ The value of the \[[Prototype]] internal slot of the Loader constructor is the i
199
184
200
185
Besides the internal slots and the length property (whose value is 0), the Loader constructor has the following properties:
201
186
202
-
<h4 id="Loader.prototype">Loader.prototype</h4>
187
+
<h4 id="loader-prototype">Loader.prototype</h4>
203
188
204
-
The value of Loader.prototype is an ordinary object.
189
+
The value of Loader.prototype is %LoaderPrototype%.
205
190
206
191
This property has the attributes { \[[Writable]]: false, \[[Enumerable]]: false, \[[Configurable]]: false }.
207
192
208
193
<h3 id="sec-properties-of-the-loader-prototype-object">Properties of the Loader Prototype Object</h3>
The Registry constructor is the %Registry% intrinsic object. When called as a constructor it creates and initializes a new %Registry% object. %Registry% is not intended to be called as a function and will throw an exception when called in that manner.
285
+
<h3 id="registry-abstract-operations">Abstract Operations for Registry Objects</h3>
The Registry constructor is the %Registry% intrinsic object. When called as a constructor it creates and initializes a new Registry object. When <b>Registry</b> is called as a function rather than as a constructor, it throws an exception.
301
+
316
302
<h3 id="properties-of-the-registry-constructor">Properties of the Registry Constructor</h3>
317
303
318
304
The value of the \[[Prototype]] internal slot of the Registry constructor is the intrinsic object %FunctionPrototype%.
@@ -614,7 +600,9 @@ Each \[[Stage]] value indicates the currently pending operation. If the \[[Resul
The ModuleStatus constructor is the initial value of the Status property of the the Reflect.Module object. When called as a constructor it creates and initializes a new ModuleStatus object. ModuleStatus is not intended to be called as a function and will throw an exception when called in that manner.
603
+
The ModuleStatus constructor is the %ModuleStatus% intrinsic object and the initial value of the <b>Status</b> property of the Reflect.Module object. When called as a constructor it creates and initializes a new ModuleStatus object. When <b>ModuleStatus</b> is called as a function rather than as a constructor, it throws an exception.
604
+
605
+
The <b>ModuleStatus</b> constructor is designed to be subclassable. It may be used as the value of an <b>extends</b> clause of a class definition. Subclass constructors that intend to inherit the specified <b>ModuleStatus</b> behaviour must include a <b>super</b> call to the <b>ModuleStatus</b> constructor to create and initialize the subclass instance with the corresponding internal slots.
The BrowserLoader constructor is the %BrowserLoader% intrinsic object. When called as a constructor it creates and initializes a new %BrowserLoader% object. %BrowserLoader% is not intended to be called as a function and will throw an exception when called in that manner.
1302
+
The BrowserLoader constructor is the %BrowserLoader% intrinsic object. When called as a constructor it creates and initializes a new BrowserLoader object. When <b>BrowserLoader</b> is called as a function rather than as a constructor, it throws an exception.
1315
1303
1316
1304
<h3 id="properties-of-the-browser-loader-constructor">Properties of the BrowserLoader Constructor</h3>
1317
1305
@@ -1388,20 +1376,36 @@ The intrinsics are listed in table below:
0 commit comments