push two values in array js code example
Example 1: js push multiple arguments
var a = [];
a.push(1, 2, 3);
console.log(a);
Example 2: javascript add multiple items to array
var a = [];
a.push(1, 2, 3);
console.log(a);
var a = [];
a.push(1, 2, 3);
console.log(a);
var a = [];
a.push(1, 2, 3);
console.log(a);