Imagine that I have two arrays:
var array1 = ['abc', 'def', 'ghi'];
var array2 = ['123', '456', '789'];
I can use the .concat() function to join both arrays one after the other, for example:
array1.concat(array2) // ['abc', 'def'...
asked by
27.01.2016 / 20:20