We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8657afd commit cbd470fCopy full SHA for cbd470f
spec.html
@@ -5655,11 +5655,11 @@ <h1>
5655
<h1>
5656
ToLength (
5657
_argument_: an ECMAScript language value,
5658
- ): either a normal completion containing an integral Number or a throw completion
+ ): either a normal completion containing a non-negative integral Number or a throw completion
5659
</h1>
5660
<dl class="header">
5661
<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>
+ <dd>It clamps and truncates _argument_ to a non-negative integral Number suitable for use as the length of an array-like object.</dd>
5663
</dl>
5664
<emu-alg>
5665
1. Let _len_ be ? ToIntegerOrInfinity(_argument_).
0 commit comments