Skip to content

Commit a5ec68d

Browse files
Align serialization format with EcmaScript (#254)
1 parent 007295e commit a5ec68d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ StringValue = {
10991099
value: text,
11001100
}
11011101

1102-
SpecialNumber = "NaN" / "-0" / "+Infinity" / "-Infinity";
1102+
SpecialNumber = "NaN" / "-0" / "Infinity" / "-Infinity";
11031103

11041104
NumberValue = {
11051105
type: "number",
@@ -1152,8 +1152,8 @@ To <dfn>serialize primitive protocol value</dfn> given a |value|:
11521152
<dd>Let |serialized| be <code>"NaN"</code>
11531153
<dt>-0
11541154
<dd>Let |serialized| be <code>"-0"</code>
1155-
<dt>+Infinity
1156-
<dd>Let |serialized| be <code>"+Infinity"</code>
1155+
<dt>Infinity
1156+
<dd>Let |serialized| be <code>"Infinity"</code>
11571157
<dt>-Infinity
11581158
<dd>Let |serialized| be <code>"-Infinity"</code>
11591159
<dt>Otherwise:

0 commit comments

Comments
 (0)