Array Concat() Method
The concat() method is used to join two or more arrays. This method does not change the existing arrays but returns a new array, containing the values of the joined arrays.
Syntax
array1.concat(array2, array3, ..., arrayX)
Example: Join two arrays