@@ -1867,7 +1867,7 @@ <h1>
1867
1867
</dl>
1868
1868
<emu-alg>
1869
1869
1. If _x_ is *NaN*, return *NaN*.
1870
- 1. Return the result of negating _x_; that is, compute a Number with the same magnitude but opposite sign.
1870
+ 1. Return the negation of _x_; that is, compute a Number with the same magnitude but opposite sign.
1871
1871
</emu-alg>
1872
1872
</emu-clause>
1873
1873
@@ -1881,7 +1881,7 @@ <h1>
1881
1881
</dl>
1882
1882
<emu-alg>
1883
1883
1. Let _oldValue_ be ! ToInt32(_x_).
1884
- 1. Return the result of applying bitwise complement to _oldValue_. The mathematical value of the result is exactly representable as a 32-bit two's complement bit string.
1884
+ 1. Return the bitwise complement of _oldValue_. The mathematical value of the result is exactly representable as a 32-bit two's complement bit string.
1885
1885
</emu-alg>
1886
1886
</emu-clause>
1887
1887
@@ -5620,7 +5620,7 @@ <h1>
5620
5620
</h1>
5621
5621
<dl class="header">
5622
5622
<dt>description</dt>
5623
- <dd>If _argument_ is either *"-0"* or exactly matches the result of ToString(_n_) for some Number value _n_, it returns the respective Number value. Otherwise, it returns *undefined*.</dd>
5623
+ <dd>If _argument_ is either *"-0"* or exactly matches ToString(_n_) for some Number value _n_, it returns the respective Number value. Otherwise, it returns *undefined*.</dd>
5624
5624
</dl>
5625
5625
<emu-alg>
5626
5626
1. If _argument_ is *"-0"*, return *-0*<sub>𝔽</sub>.
@@ -31833,7 +31833,7 @@ <h1>Math.acos ( _x_ )</h1>
31833
31833
1. Let _n_ be ? ToNumber(_x_).
31834
31834
1. If _n_ is *NaN*, _n_ > *1*<sub>𝔽</sub>, or _n_ < *-1*<sub>𝔽</sub>, return *NaN*.
31835
31835
1. If _n_ is *1*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
31836
- 1. Return an implementation-approximated Number value representing the result of the inverse cosine of ℝ(_n_).
31836
+ 1. Return an implementation-approximated Number value representing the inverse cosine of ℝ(_n_).
31837
31837
</emu-alg>
31838
31838
</emu-clause>
31839
31839
@@ -31846,7 +31846,7 @@ <h1>Math.acosh ( _x_ )</h1>
31846
31846
1. If _n_ is either *NaN* or *+∞*<sub>𝔽</sub>, return _n_.
31847
31847
1. If _n_ is *1*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
31848
31848
1. If _n_ < *1*<sub>𝔽</sub>, return *NaN*.
31849
- 1. Return an implementation-approximated Number value representing the result of the inverse hyperbolic cosine of ℝ(_n_).
31849
+ 1. Return an implementation-approximated Number value representing the inverse hyperbolic cosine of ℝ(_n_).
31850
31850
</emu-alg>
31851
31851
</emu-clause>
31852
31852
@@ -31858,7 +31858,7 @@ <h1>Math.asin ( _x_ )</h1>
31858
31858
1. Let _n_ be ? ToNumber(_x_).
31859
31859
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, or *-0*<sub>𝔽</sub>, return _n_.
31860
31860
1. If _n_ > *1*<sub>𝔽</sub> or _n_ < *-1*<sub>𝔽</sub>, return *NaN*.
31861
- 1. Return an implementation-approximated Number value representing the result of the inverse sine of ℝ(_n_).
31861
+ 1. Return an implementation-approximated Number value representing the inverse sine of ℝ(_n_).
31862
31862
</emu-alg>
31863
31863
</emu-clause>
31864
31864
@@ -31869,7 +31869,7 @@ <h1>Math.asinh ( _x_ )</h1>
31869
31869
<emu-alg>
31870
31870
1. Let _n_ be ? ToNumber(_x_).
31871
31871
1. If _n_ is not finite or _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return _n_.
31872
- 1. Return an implementation-approximated Number value representing the result of the inverse hyperbolic sine of ℝ(_n_).
31872
+ 1. Return an implementation-approximated Number value representing the inverse hyperbolic sine of ℝ(_n_).
31873
31873
</emu-alg>
31874
31874
</emu-clause>
31875
31875
@@ -31882,7 +31882,7 @@ <h1>Math.atan ( _x_ )</h1>
31882
31882
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, or *-0*<sub>𝔽</sub>, return _n_.
31883
31883
1. If _n_ is *+∞*<sub>𝔽</sub>, return an implementation-approximated Number value representing π / 2.
31884
31884
1. If _n_ is *-∞*<sub>𝔽</sub>, return an implementation-approximated Number value representing -π / 2.
31885
- 1. Return an implementation-approximated Number value representing the result of the inverse tangent of ℝ(_n_).
31885
+ 1. Return an implementation-approximated Number value representing the inverse tangent of ℝ(_n_).
31886
31886
</emu-alg>
31887
31887
</emu-clause>
31888
31888
@@ -31896,7 +31896,7 @@ <h1>Math.atanh ( _x_ )</h1>
31896
31896
1. If _n_ > *1*<sub>𝔽</sub> or _n_ < *-1*<sub>𝔽</sub>, return *NaN*.
31897
31897
1. If _n_ is *1*<sub>𝔽</sub>, return *+∞*<sub>𝔽</sub>.
31898
31898
1. If _n_ is *-1*<sub>𝔽</sub>, return *-∞*<sub>𝔽</sub>.
31899
- 1. Return an implementation-approximated Number value representing the result of the inverse hyperbolic tangent of ℝ(_n_).
31899
+ 1. Return an implementation-approximated Number value representing the inverse hyperbolic tangent of ℝ(_n_).
31900
31900
</emu-alg>
31901
31901
</emu-clause>
31902
31902
@@ -31949,7 +31949,7 @@ <h1>Math.cbrt ( _x_ )</h1>
31949
31949
<emu-alg>
31950
31950
1. Let _n_ be ? ToNumber(_x_).
31951
31951
1. If _n_ is not finite or _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return _n_.
31952
- 1. Return an implementation-approximated Number value representing the result of the cube root of ℝ(_n_).
31952
+ 1. Return an implementation-approximated Number value representing the cube root of ℝ(_n_).
31953
31953
</emu-alg>
31954
31954
</emu-clause>
31955
31955
@@ -31990,7 +31990,7 @@ <h1>Math.cos ( _x_ )</h1>
31990
31990
1. Let _n_ be ? ToNumber(_x_).
31991
31991
1. If _n_ is not finite, return *NaN*.
31992
31992
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *1*<sub>𝔽</sub>.
31993
- 1. Return an implementation-approximated Number value representing the result of the cosine of ℝ(_n_).
31993
+ 1. Return an implementation-approximated Number value representing the cosine of ℝ(_n_).
31994
31994
</emu-alg>
31995
31995
</emu-clause>
31996
31996
@@ -32003,7 +32003,7 @@ <h1>Math.cosh ( _x_ )</h1>
32003
32003
1. If _n_ is *NaN*, return *NaN*.
32004
32004
1. If _n_ is either *+∞*<sub>𝔽</sub> or *-∞*<sub>𝔽</sub>, return *+∞*<sub>𝔽</sub>.
32005
32005
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *1*<sub>𝔽</sub>.
32006
- 1. Return an implementation-approximated Number value representing the result of the hyperbolic cosine of ℝ(_n_).
32006
+ 1. Return an implementation-approximated Number value representing the hyperbolic cosine of ℝ(_n_).
32007
32007
</emu-alg>
32008
32008
<emu-note>
32009
32009
<p>The value of `Math.cosh(x)` is the same as the value of `(Math.exp(x) + Math.exp(-x)) / 2`.</p>
@@ -32019,7 +32019,7 @@ <h1>Math.exp ( _x_ )</h1>
32019
32019
1. If _n_ is either *NaN* or *+∞*<sub>𝔽</sub>, return _n_.
32020
32020
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *1*<sub>𝔽</sub>.
32021
32021
1. If _n_ is *-∞*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
32022
- 1. Return an implementation-approximated Number value representing the result of the exponential function of ℝ(_n_).
32022
+ 1. Return an implementation-approximated Number value representing the exponential function of ℝ(_n_).
32023
32023
</emu-alg>
32024
32024
</emu-clause>
32025
32025
@@ -32031,7 +32031,8 @@ <h1>Math.expm1 ( _x_ )</h1>
32031
32031
1. Let _n_ be ? ToNumber(_x_).
32032
32032
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, *-0*<sub>𝔽</sub>, or *+∞*<sub>𝔽</sub>, return _n_.
32033
32033
1. If _n_ is *-∞*<sub>𝔽</sub>, return *-1*<sub>𝔽</sub>.
32034
- 1. Return an implementation-approximated Number value representing the result of subtracting 1 from the exponential function of ℝ(_n_).
32034
+ 1. Let _exp_ be the exponential function of ℝ(_n_).
32035
+ 1. Return an implementation-approximated Number value representing _exp_ - 1.
32035
32036
</emu-alg>
32036
32037
</emu-clause>
32037
32038
@@ -32109,7 +32110,7 @@ <h1>Math.log ( _x_ )</h1>
32109
32110
1. If _n_ is *1*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
32110
32111
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *-∞*<sub>𝔽</sub>.
32111
32112
1. If _n_ < *-0*<sub>𝔽</sub>, return *NaN*.
32112
- 1. Return an implementation-approximated Number value representing the result of the natural logarithm of ℝ(_n_).
32113
+ 1. Return an implementation-approximated Number value representing the natural logarithm of ℝ(_n_).
32113
32114
</emu-alg>
32114
32115
</emu-clause>
32115
32116
@@ -32122,7 +32123,7 @@ <h1>Math.log1p ( _x_ )</h1>
32122
32123
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, *-0*<sub>𝔽</sub>, or *+∞*<sub>𝔽</sub>, return _n_.
32123
32124
1. If _n_ is *-1*<sub>𝔽</sub>, return *-∞*<sub>𝔽</sub>.
32124
32125
1. If _n_ < *-1*<sub>𝔽</sub>, return *NaN*.
32125
- 1. Return an implementation-approximated Number value representing the result of the natural logarithm of 1 + ℝ(_n_).
32126
+ 1. Return an implementation-approximated Number value representing the natural logarithm of 1 + ℝ(_n_).
32126
32127
</emu-alg>
32127
32128
</emu-clause>
32128
32129
@@ -32136,7 +32137,7 @@ <h1>Math.log10 ( _x_ )</h1>
32136
32137
1. If _n_ is *1*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
32137
32138
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *-∞*<sub>𝔽</sub>.
32138
32139
1. If _n_ < *-0*<sub>𝔽</sub>, return *NaN*.
32139
- 1. Return an implementation-approximated Number value representing the result of the base 10 logarithm of ℝ(_n_).
32140
+ 1. Return an implementation-approximated Number value representing the base 10 logarithm of ℝ(_n_).
32140
32141
</emu-alg>
32141
32142
</emu-clause>
32142
32143
@@ -32150,7 +32151,7 @@ <h1>Math.log2 ( _x_ )</h1>
32150
32151
1. If _n_ is *1*<sub>𝔽</sub>, return *+0*<sub>𝔽</sub>.
32151
32152
1. If _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return *-∞*<sub>𝔽</sub>.
32152
32153
1. If _n_ < *-0*<sub>𝔽</sub>, return *NaN*.
32153
- 1. Return an implementation-approximated Number value representing the result of the base 2 logarithm of ℝ(_n_).
32154
+ 1. Return an implementation-approximated Number value representing the base 2 logarithm of ℝ(_n_).
32154
32155
</emu-alg>
32155
32156
</emu-clause>
32156
32157
@@ -32253,7 +32254,7 @@ <h1>Math.sin ( _x_ )</h1>
32253
32254
1. Let _n_ be ? ToNumber(_x_).
32254
32255
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, or *-0*<sub>𝔽</sub>, return _n_.
32255
32256
1. If _n_ is either *+∞*<sub>𝔽</sub> or *-∞*<sub>𝔽</sub>, return *NaN*.
32256
- 1. Return an implementation-approximated Number value representing the result of the sine of ℝ(_n_).
32257
+ 1. Return an implementation-approximated Number value representing the sine of ℝ(_n_).
32257
32258
</emu-alg>
32258
32259
</emu-clause>
32259
32260
@@ -32264,7 +32265,7 @@ <h1>Math.sinh ( _x_ )</h1>
32264
32265
<emu-alg>
32265
32266
1. Let _n_ be ? ToNumber(_x_).
32266
32267
1. If _n_ is not finite or _n_ is either *+0*<sub>𝔽</sub> or *-0*<sub>𝔽</sub>, return _n_.
32267
- 1. Return an implementation-approximated Number value representing the result of the hyperbolic sine of ℝ(_n_).
32268
+ 1. Return an implementation-approximated Number value representing the hyperbolic sine of ℝ(_n_).
32268
32269
</emu-alg>
32269
32270
<emu-note>
32270
32271
<p>The value of `Math.sinh(x)` is the same as the value of `(Math.exp(x) - Math.exp(-x)) / 2`.</p>
@@ -32279,7 +32280,7 @@ <h1>Math.sqrt ( _x_ )</h1>
32279
32280
1. Let _n_ be ? ToNumber(_x_).
32280
32281
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, *-0*<sub>𝔽</sub>, or *+∞*<sub>𝔽</sub>, return _n_.
32281
32282
1. If _n_ < *-0*<sub>𝔽</sub>, return *NaN*.
32282
- 1. Return an implementation-approximated Number value representing the result of the square root of ℝ(_n_).
32283
+ 1. Return an implementation-approximated Number value representing the square root of ℝ(_n_).
32283
32284
</emu-alg>
32284
32285
</emu-clause>
32285
32286
@@ -32291,7 +32292,7 @@ <h1>Math.tan ( _x_ )</h1>
32291
32292
1. Let _n_ be ? ToNumber(_x_).
32292
32293
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, or *-0*<sub>𝔽</sub>, return _n_.
32293
32294
1. If _n_ is either *+∞*<sub>𝔽</sub> or *-∞*<sub>𝔽</sub>, return *NaN*.
32294
- 1. Return an implementation-approximated Number value representing the result of the tangent of ℝ(_n_).
32295
+ 1. Return an implementation-approximated Number value representing the tangent of ℝ(_n_).
32295
32296
</emu-alg>
32296
32297
</emu-clause>
32297
32298
@@ -32304,7 +32305,7 @@ <h1>Math.tanh ( _x_ )</h1>
32304
32305
1. If _n_ is one of *NaN*, *+0*<sub>𝔽</sub>, or *-0*<sub>𝔽</sub>, return _n_.
32305
32306
1. If _n_ is *+∞*<sub>𝔽</sub>, return *1*<sub>𝔽</sub>.
32306
32307
1. If _n_ is *-∞*<sub>𝔽</sub>, return *-1*<sub>𝔽</sub>.
32307
- 1. Return an implementation-approximated Number value representing the result of the hyperbolic tangent of ℝ(_n_).
32308
+ 1. Return an implementation-approximated Number value representing the hyperbolic tangent of ℝ(_n_).
32308
32309
</emu-alg>
32309
32310
<emu-note>
32310
32311
<p>The value of `Math.tanh(x)` is the same as the value of `(Math.exp(x) - Math.exp(-x)) / (Math.exp(x) + Math.exp(-x))`.</p>
@@ -35267,7 +35268,7 @@ <h1>String.prototype.toLowerCase ( )</h1>
35267
35268
1. Let _O_ be ? RequireObjectCoercible(*this* value).
35268
35269
1. Let _S_ be ? ToString(_O_).
35269
35270
1. Let _sText_ be StringToCodePoints(_S_).
35270
- 1. Let _lowerText_ be the result of toLowercase(_sText_), according to the Unicode Default Case Conversion algorithm.
35271
+ 1. Let _lowerText_ be toLowercase(_sText_), according to the Unicode Default Case Conversion algorithm.
35271
35272
1. Let _L_ be CodePointsToString(_lowerText_).
35272
35273
1. Return _L_.
35273
35274
</emu-alg>
@@ -37100,7 +37101,7 @@ <h1>
37100
37101
1. If _rer_.[[IgnoreCase]] is *false*, return _ch_.
37101
37102
1. Assert: _ch_ is a UTF-16 code unit.
37102
37103
1. Let _cp_ be the code point whose numeric value is the numeric value of _ch_.
37103
- 1. Let _u_ be the result of toUppercase(« _cp_ »), according to the Unicode Default Case Conversion algorithm.
37104
+ 1. Let _u_ be toUppercase(« _cp_ »), according to the Unicode Default Case Conversion algorithm.
37104
37105
1. Let _uStr_ be CodePointsToString(_u_).
37105
37106
1. If the length of _uStr_ ≠ 1, return _ch_.
37106
37107
1. Let _cu_ be _uStr_'s single code unit element.
@@ -39473,7 +39474,7 @@ <h1>Array.prototype.reduceRight ( _callbackfn_ [ , _initialValue_ ] )</h1>
39473
39474
<emu-clause id="sec-array.prototype.reverse">
39474
39475
<h1>Array.prototype.reverse ( )</h1>
39475
39476
<emu-note>
39476
- <p>This method rearranges the elements of the array so as to reverse their order. It returns the object as the result of the call .</p>
39477
+ <p>This method rearranges the elements of the array so as to reverse their order. It returns the reversed array .</p>
39477
39478
</emu-note>
39478
39479
<p>This method performs the following steps when called:</p>
39479
39480
<emu-alg>
@@ -45080,7 +45081,7 @@ <h1>
45080
45081
</h1>
45081
45082
<dl class="header">
45082
45083
<dt>description</dt>
45083
- <dd>_op_ takes two List of byte values arguments and returns a List of byte values. This operation atomically loads a value, combines it with another value, and stores the result of the combination. It returns the loaded value.</dd>
45084
+ <dd>_op_ takes two List of byte values arguments and returns a List of byte values. This operation atomically loads a value, combines it with another value, and stores the combination. It returns the loaded value.</dd>
45084
45085
</dl>
45085
45086
<emu-alg>
45086
45087
1. Let _byteIndexInBuffer_ be ? ValidateAtomicAccessOnIntegerTypedArray(_typedArray_, _index_).
0 commit comments