Glossary Term
Array() constructor
Parameters: element1, …, elementN A JavaScript array is initialized with the given elements, except in the case where a single argument is passed to the Array constructor and that argument is a number (see the arrayLength parameter below). Note that this special case only applies to JavaScript arrays created with the Array constructor, not array literals created with the square bracket syntax. arrayLength If the only argument passed to the Array constructor is an integer between 0 and 232 – 1 (inclusive), this returns a new JavaScript array with its length property set to that number.
Parameters: Note: This implies an array of arrayLength empty slots, not slots with actual undefined values — see sparse arrays.
Syntax example: new Array()
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
