Javascript: push an entire list? June 10, 2023 by Tarik push will work, but you also need to use apply. var a = [1,2,3]; a.push.apply(a, [4,5])