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