1// Merge the contents of two arrays together into the first array.
2jQuery.merge( first, second );
3
4// Merge two arrays
5$.merge( [ 0, 1, 2 ], [ 2, 3, 4 ] ); // [ 0, 1, 2, 2, 3, 4 ]
6
7// Get a copy of an array
8let newArray = $.merge( [], [ 1, 2, 3, 4 ] );