javascript Array concat( )

concat( ) NN 4 IE 4 ECMA 3  

concat(item1[, item2[, ...itemN]])

  

Returns an array that combines the current array object with one or more array objects (or other values) specified as the method parameter(s):

var combinedArray = myArray1.concat(myArray2, someValue);

Neither of the original arrays is altered in the process.

 
Parameters
 
item1...itemN

Any JavaScript value, including another array.

 
Returned Value

An Array object.


270,Nickname,Homepage or email,Comments here,Add comment