how to use array js code example
Example 1: array in js
function Array() { return []; }
alert(Array(1, 2, 3)); // An empty alert box
Example 2: array in js
var array_name = [item1, item2, ...];
//Used to store more than 1 items
function Array() { return []; }
alert(Array(1, 2, 3)); // An empty alert box
var array_name = [item1, item2, ...];
//Used to store more than 1 items