Javascript Array Concat() Function

The Concat() function of array object is concatenates simple string values or one array with another existing array, and returns the new array. When concatenates two values and that are strings or numbers, their actual values are added to the returned array. When values to concat are object references, the same object reference will be added and not object itself. Use it for example to combined two array.

Javascript Array Concat() Function Example1

Javascript Concat Array Method Example2