File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11126,13 +11126,13 @@ and is described in more detail in [[#interface-prototype-object]].
11126
11126
Note: Since an [=interface object=] is a [=function object=]
11127
11127
the <code>typeof</code> operator will return "function" when applied to an interface object.
11128
11128
11129
- <div algorithm>
11129
+ <div algorithm="create an interface object" >
11130
11130
11131
11131
The [=interface object=] for a given [=interface=] |I|
11132
11132
with [=identifier=] |id| and in [=Realm=] |realm|
11133
11133
is <dfn lt="create an interface object">created</dfn> as follows:
11134
11134
11135
- 1. Let |steps| be the following steps:
11135
+ 1. Let |steps| be the following steps, known as the <dfn export>usual constructor steps</dfn> :
11136
11136
1. If |I| was not declared with a [=constructor operation=],
11137
11137
then [=ECMAScript/throw=] a {{ECMAScript/TypeError}}.
11138
11138
1. If {{NewTarget}} is <emu-val>undefined</emu-val>, then
@@ -11186,6 +11186,9 @@ the <code>typeof</code> operator will return "function" when applied to an inter
11186
11186
1. [=Define the static operations=] of [=interface=] |I| on |F| given |realm|.
11187
11187
1. Return |F|.
11188
11188
11189
+ Other specifications may require that, under certain circumstances, a different set of steps
11190
+ replace the [=usual constructor steps=].
11191
+
11189
11192
</div>
11190
11193
11191
11194
You can’t perform that action at this time.
0 commit comments