Skip to content

Commit 4a3c045

Browse files
authored
Editorial: correct heading closing tags
And correct a broken "default toJSON steps" reference.
1 parent ea3af2c commit 4a3c045

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ that can be turned into a JSON string
25622562
by the {{JSON.stringify()}} function.
25632563
Additionally, in the ECMAScript language binding,
25642564
the <code>toJSON</code> operation can take a [{{Default}}] [=extended attribute=],
2565-
in which case the [=default toJSON operation=] is exposed instead.
2565+
in which case the [=default toJSON steps=] are exposed instead.
25662566

25672567
<div class="example" id="tojson-example">
25682568

@@ -9166,7 +9166,7 @@ that [=has default method steps=] defined.
91669166
alice.toJSON();
91679167

91689168
// Evaluates to an object like this (notice how "breed" is absent,
9169-
// as the Dog interface doesn't declare a default toJSON operation):
9169+
// as the Dog interface doesn't use the default toJSON steps):
91709170
//
91719171
// {
91729172
// name: "Tramp",
@@ -11843,7 +11843,7 @@ A [=regular operation=] that does not [=have default method steps=] must not be
1184311843
[{{Default}}] [=extended attribute=].
1184411844

1184511845

11846-
<h6 id="es-default-tojson">Default toJSON operation</h5>
11846+
<h6 id="es-default-tojson">Default toJSON operation</h6>
1184711847

1184811848
<div algorithm>
1184911849

@@ -14424,7 +14424,7 @@ The {{BufferSource}} typedef is used to represent objects
1442414424
that are either themselves an {{ArrayBuffer}} or which
1442514425
provide a view on to an {{ArrayBuffer}}.
1442614426

14427-
<h3 id="idl-DOMException" interface oldids="dfn-DOMException">DOMException</h4>
14427+
<h3 id="idl-DOMException" interface oldids="dfn-DOMException">DOMException</h3>
1442814428

1442914429
The {{DOMException}} type is an [=interface type=] defined by the following IDL
1443014430
fragment:

0 commit comments

Comments
 (0)