Skip to content

Commit cbd470f

Browse files
tmdghksljharb
authored andcommitted
Editorial: Using non-negative integral Number insted of integral Number in ToLength (#3377)
1 parent 8657afd commit cbd470f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5655,11 +5655,11 @@ <h1>
56555655
<h1>
56565656
ToLength (
56575657
_argument_: an ECMAScript language value,
5658-
): either a normal completion containing an integral Number or a throw completion
5658+
): either a normal completion containing a non-negative integral Number or a throw completion
56595659
</h1>
56605660
<dl class="header">
56615661
<dt>description</dt>
5662-
<dd>It clamps and truncates _argument_ to an integral Number suitable for use as the length of an array-like object.</dd>
5662+
<dd>It clamps and truncates _argument_ to a non-negative integral Number suitable for use as the length of an array-like object.</dd>
56635663
</dl>
56645664
<emu-alg>
56655665
1. Let _len_ be ? ToIntegerOrInfinity(_argument_).

0 commit comments

Comments
 (0)