mozilla

Compare Revisions

Array

Change Revisions

Revision 292455:

Revision 292455 by lmorchard on

Revision 293255:

Revision 293255 by mua on

Title:
Array
Array
Slug:
JavaScript/Reference/Global_Objects/Array
JavaScript/Reference/Global_Objects/Array
Tags:
JavaScript Reference, Array, NeedsEditorialReview, JavaScript
JavaScript Reference, Array, NeedsEditorialReview, JavaScript
Content:

Revision 292455
Revision 293255
t34        If the only argument passed to the&nbsp;<code>Array</codet34        If the only argument passed to the&nbsp;<code>Array</code
>> constructor is an integer between 0 and 2<sup>32</sup>-1 (inclu>> constructor is an integer between 0 and 2<sup>32</sup>-1 (inclu
>sive), a new JavaScript array is created with that number of elem>sive), a new, empty JavaScript array &nbsp;and its length is set 
>ents. If the argument is any other number, a <code><a href="/en/J>to&nbsp;that number. If the argument is any other number, a <code
>avaScript/Reference/Global_Objects/RangeError" title="en/JavaScri>><a href="/en/JavaScript/Reference/Global_Objects/RangeError" tit
>pt/Reference/Global_Objects/RangeError">RangeError</a></code> exc>le="en/JavaScript/Reference/Global_Objects/RangeError">RangeError
>eption is thrown.></a></code> exception is thrown.

Back to History