how to initialise array in js code example
Example 1: initialize javascript array variable
var arrayName = new Array();
var arrayName = new Array(Number length);
var arrayName = new Array(element1, element2, element3);
Example 2: how to initialize an array in javascript
var array_name = [item1, item2, ...];