Skip to content

Commit

Permalink
Align serialization format with EcmaScript (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadym-chromium authored Jul 7, 2022
1 parent 007295e commit a5ec68d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ StringValue = {
value: text,
}

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

NumberValue = {
type: "number",
Expand Down Expand Up @@ -1152,8 +1152,8 @@ To <dfn>serialize primitive protocol value</dfn> given a |value|:
<dd>Let |serialized| be <code>"NaN"</code>
<dt>-0
<dd>Let |serialized| be <code>"-0"</code>
<dt>+Infinity
<dd>Let |serialized| be <code>"+Infinity"</code>
<dt>Infinity
<dd>Let |serialized| be <code>"Infinity"</code>
<dt>-Infinity
<dd>Let |serialized| be <code>"-Infinity"</code>
<dt>Otherwise:
Expand Down

0 comments on commit a5ec68d

Please sign in to comment.