From 3e5ef6a3218eea1781d1747b6d1c10fc3eacaaf9 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 28 Apr 2022 13:31:33 -0400 Subject: [PATCH] Editorial: Conform with ECMA-262 conventions for infinity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `∞` should be encoded as `∞` --- spec/abstractops.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/abstractops.html b/spec/abstractops.html index 520ee3eb58..17bd33ee7c 100644 --- a/spec/abstractops.html +++ b/spec/abstractops.html @@ -214,7 +214,7 @@

1. If _dividend_ is *undefined*, then - 1. Let _maximum_ be *+∞*𝔽. + 1. Let _maximum_ be *+∞*𝔽. 1. Else if _inclusive_ is *true*, then 1. Let _maximum_ be 𝔽(_dividend_). 1. Else if _dividend_ is more than 1, then @@ -1552,7 +1552,7 @@

ToIntegerThrowOnInfinity ( _argument_ )

1. Let _integer_ be ? ToIntegerOrInfinity(_argument_). - 1. If _integer_ is -∞ or +∞ , then + 1. If _integer_ is -∞ or +∞, then 1. Throw a *RangeError* exception. 1. Return _integer_.