Merges multiple arrays or values into a single new array.
Accepts any combination of arrays and individual elements.
One or more arrays or values to concatenate.
A new array containing all provided elements in order.
concat([1], [2, 3], 4);// → [1, 2, 3, 4] Copy
concat([1], [2, 3], 4);// → [1, 2, 3, 4]
1.0.0
Merges multiple arrays or values into a single new array.
Accepts any combination of arrays and individual elements.