25.1. The Array Object
new Array() This constructor builds a new zero-length array. Adding an element to a specified index automatically changes the length. For example,var a = new Array(); // a.length = 0 a = "foo"; // a.length = 13
new Array(length) This constructor builds an array with indices from 0 to length-1. All the values will initially be null.