how to push two values in array at once code example
Example: how to push two values in array at once
let arr = [];
arr.push(1);
arr.push(2);
console.log(arr);
result [1, 2]
let arr = [];
arr.push(1);
arr.push(2);
console.log(arr);
result [1, 2]