init array js code example
Example 1: how to make an array in javascript
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
Example 2: how to initialize an array in javascript
var array_name = [item1, item2, ...];
Example 3: array in js
function Array() { return []; }
alert(Array(1, 2, 3)); // An empty alert box