I have this array:
var arrayPpal = []; with this question I want to know how I can add the elements of other arrays to arrayPpal on the same level without having to perform cycles(without using cycle for, while.) or something like that.
var array1 = [1,2,3,4,5,6,7]; var array2 = [8,9,10]; the output should be:
arrayPpal = [1,2,3,4,5,6,7,8,9,10];
concatmethod.let arrayPal=array1.concat(array2)