Skip to content

Commit 4945941

Browse files
committed
Some stylistic editing
1 parent c705ce6 commit 4945941

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

index.bs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6730,7 +6730,7 @@ of objects defined in this section has the value <emu-val>true</emu-val>.
67306730
Unless otherwise specified, the \[[Prototype]] internal slot
67316731
of objects defined in this section is {{%ObjectPrototype%}}.
67326732

6733-
Unless otherwise specified, {{ECMAScript/typeof}} operator, when called on an
6733+
Unless otherwise specified, the {{ECMAScript/typeof}} operator, when called on an
67346734
exotic object that is not a [=function object=] defined in this section and
67356735
other specifications, must return the string "<code>object</code>".
67366736

@@ -10697,7 +10697,8 @@ the [=regular attributes=] and [=regular operations=] defined on the interface,
1069710697
and is described in more detail in [[#interface-prototype-object]].
1069810698

1069910699
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.
1070110702

1070210703
<div algorithm>
1070310704

@@ -10925,7 +10926,7 @@ It has properties that correspond to the [=constants=] defined on that interface
1092510926
as described in sections [[#es-constants]].
1092610927

1092710928
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>"
1092910930
when applied to a [=legacy callback interface object=].
1093010931

1093110932
<div algorithm>
@@ -12396,12 +12397,10 @@ the Realm given as an argument.
1239612397
Realm |realm| and a JavaScript value |newTarget|, perform the following steps:
1239712398

1239812399
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:
1240312402
1. Assert: [$IsCallable$](|newTarget|) is true.
12404-
1. Let |prototype| be [=?=] [$Get$](|newTarget|, "prototype").
12403+
1. Set |prototype| to [=?=] [$Get$](|newTarget|, "<code>prototype</code>").
1240512404
1. If [$Type$](|prototype|) is not Object, then:
1240612405
1. Let |targetRealm| be [$GetFunctionRealm$](|newTarget|).
1240712406
1. Set |prototype| to the [=interface prototype object=] for |interface| in

0 commit comments

Comments
 (0)