Combines two or more arrays.
The concat method returns an Array object containing the concatenation of array1 and any other supplied items.
The items to be added (item1 itemN) to the array are added, in order, starting from the first item in the list. If one of the items is an array, its contents are added to the end of array1. If the item is anything other than an array, it is added to the end of the array as a single array element.
Elements of source arrays are copied to the resulting array as follows:
If an object is copied from any of the arrays being concatenated to the new array, the object reference continues to point to the same object. A change in either the new array or the original array will result in a change to the other.
If a number or string value is added to the new array, only the value is copied. Changing the value in one array does not affect the value in the other.
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1). See Version Information.