javascript assign to new array code example
Example 1: javacript array
[element0, element1, ..., elementN]
new Array(element0, element1[, ...[, elementN]])
new Array(arrayLength)
Example 2: array in js
function Array() { return []; }
alert(Array(1, 2, 3)); // An empty alert box