making an array of arrays js function code example
Example 1: create array with number js
var foo = new Array(45); // create an empty array with length 45
Example 2: how to get create an array in javascript
let names = ['Michael', 'Adam', 'NetNinja'];
//now you are free to use the array
conosle.log(names[0]);