how to an array of numbers starting from 0 to length javascript code example
Example: create array with number js
var foo = new Array(45); // create an empty array with length 45
var foo = new Array(45); // create an empty array with length 45