I've these arrays.
let array1 = [10, 20, 30, 40, 50, 55]
let array2 = [11, 22, 33]
I want this output in only one array
[10, 11, 20, 22, 30, 33, 40, 50, 55]
In case the second array size is bigger than first one.
let array1 = [10, 20, 30]
let array2 = [11, 22, 33, 45, 56, 78]
Output
[10, 11, 20, 22, 30, 33, 45, 56, 78]
Is there a way without loop the arrays in a for?
Thanks