@@ -6730,7 +6730,7 @@ of objects defined in this section has the value <emu-val>true</emu-val>.
6730
6730
Unless otherwise specified, the \[[Prototype]] internal slot
6731
6731
of objects defined in this section is {{%ObjectPrototype%}}.
6732
6732
6733
- Unless otherwise specified, {{ECMAScript/typeof}} operator, when called on an
6733
+ Unless otherwise specified, the {{ECMAScript/typeof}} operator, when called on an
6734
6734
exotic object that is not a [=function object=] defined in this section and
6735
6735
other specifications, must return the string "<code>object</code>".
6736
6736
@@ -10697,7 +10697,8 @@ the [=regular attributes=] and [=regular operations=] defined on the interface,
10697
10697
and is described in more detail in [[#interface-prototype-object]].
10698
10698
10699
10699
Note: Since an [=interface object=] is a [=function object=]
10700
- the <code>typeof</code> operator will return "function" when applied to an interface object.
10700
+ the {{ECMAScript/typeof}} operator will return "<code>function</code>" when
10701
+ applied to an interface object.
10701
10702
10702
10703
<div algorithm>
10703
10704
@@ -10925,7 +10926,7 @@ It has properties that correspond to the [=constants=] defined on that interface
10925
10926
as described in sections [[#es-constants]].
10926
10927
10927
10928
Note: Since a legacy callback interface object is a [=function object=]
10928
- the <code>typeof</code> operator will return "function"
10929
+ the {{ECMAScript/typeof}} operator will return "<code> function</code> "
10929
10930
when applied to a [=legacy callback interface object=].
10930
10931
10931
10932
<div algorithm>
@@ -12396,12 +12397,10 @@ the Realm given as an argument.
12396
12397
Realm |realm| and a JavaScript value |newTarget|, perform the following steps:
12397
12398
12398
12399
1. Assert: |interface| is [=exposed=] in |realm|.
12399
- 1. If |newTarget| is <emu-val>undefined</emu-val>, then:
12400
- 1. Let |prototype| be the [=interface prototype object=] for |interface| in
12401
- |realm|.
12402
- 1. Otherwise:
12400
+ 1. Let |prototype| be the [=interface prototype object=] for |interface| in |realm|.
12401
+ 1. If |newTarget| is not <emu-val>undefined</emu-val>, then:
12403
12402
1. Assert: [$IsCallable$](|newTarget|) is true.
12404
- 1. Let |prototype| be [=?=] [$Get$](|newTarget|, "prototype").
12403
+ 1. Set |prototype| to [=?=] [$Get$](|newTarget|, "<code> prototype</code> ").
12405
12404
1. If [$Type$](|prototype|) is not Object, then:
12406
12405
1. Let |targetRealm| be [$GetFunctionRealm$](|newTarget|).
12407
12406
1. Set |prototype| to the [=interface prototype object=] for |interface| in
0 commit comments