javascript add multiple items to array

JavaScript
var a = [];
    
a.push(1, 2, 3);

console.log(a);
Source

Also in JavaScript: