concatenate array using apply Clever Cottonmouth on July 20, 2022 let arr1 = [1,2,3] let arr2 = [4,5,6] arr1.push.apply(arr1,arr2) console.log(arr1)
Why not just:
?