how to push 2 things at once into array 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);