push to array with spread operator javascript code example Example: spread operator javascript [a, b, ...objIteravel] = [1, 2, 3, 4, 5];