add values from different objects to arraylist javascript code example Example: js push multiple arguments var a = []; a.push(1, 2, 3); console.log(a);