Join three arrays:
The values of the children array will be:
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.
The concat() method is supported in all major browsers.
|array2, array3, ..., arrayX||Required. The arrays to be joined|
|Array object||The joined array|
Your message has been sent to W3Schools.