Array.concat¶
Array concat (any value)
Parameters¶
value | Any number of values to be added to the end of the array. |
Description¶
Returns a new array created by concatenating the given values to the end of the original array.
The original array is unchanged. If an array is provided as a parameter to concat(), each of its elements are appended as separate array elements at the end of the new array. Returns a new array, the result of concatenation the given values to the end of the original array.