Mock Js concat

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.