Skip to content

Commit

Permalink
Editorial: Conform with ECMA-262 conventions for infinity
Browse files Browse the repository at this point in the history
`∞` should be encoded as `∞`
  • Loading branch information
gibson042 authored and ptomato committed Apr 29, 2022
1 parent 11327e6 commit 3e5ef6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/abstractops.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h1>
</dl>
<emu-alg>
1. If _dividend_ is *undefined*, then
1. Let _maximum_ be *+*<sub>𝔽</sub>.
1. Let _maximum_ be *+&infin;*<sub>𝔽</sub>.
1. Else if _inclusive_ is *true*, then
1. Let _maximum_ be 𝔽(_dividend_).
1. Else if _dividend_ is more than 1, then
Expand Down Expand Up @@ -1552,7 +1552,7 @@ <h1>ToIntegerThrowOnInfinity ( _argument_ )</h1>
</p>
<emu-alg>
1. Let _integer_ be ? ToIntegerOrInfinity(_argument_).
1. If _integer_ is - or +, then
1. If _integer_ is -&infin; or +&infin;, then
1. Throw a *RangeError* exception.
1. Return _integer_.
</emu-alg>
Expand Down

0 comments on commit 3e5ef6a

Please sign in to comment.