The Array.concat() method returns a array that is a concatenation of the original array and what what is being passed into the concat() method. The concat() method can take either values or another array.

For example lets say you have an array of numbers from 1 to 3

var numbers = [1,2,3];

Now let's say you want to concatenate the numbers 4 and 5 into the array. You would type in the following

numbers.concat(4, 5);

For example lets say you have an array of numbers from 1 to 3

var numbers = [1,2,3];

Now let's say you want to concatenate the numbers 4 and 5 into the array. You would type in the following

numbers.concat(4, 5);