concat() method is used to join two or more arrays.
Note: This method does not alter the existing arrays, but returns a new array, containing the values of the joined arrays.
Concatenating Two Arrays
|array2..arrayN||Required||Arrays to concatenate into a new array.|
Concatenating More than Two Arrays
Note: Use comma-separator when joining more than two arrays.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.