1// Same array push
2let arr1 = [0, 1, 2];
3let arr2 = [3, 4, 5];
4arr1.push(...arr2);
5
6// New array push
7let arr1 = [1, 2];
8let arr2 = [3, 4];
9let newArr = arr1.concat(arr2);
1const array1 = ['a', 'b', 'c'];
2const array2 = ['d', 'e', 'f'];
3const array3 = array1.concat(array2);