See Also Applies To
Description
Combines two arrays to create a new array.
Syntax
array1.concat(array2)
The concat method syntax has these parts:
Part
Description
array1
Required. An Array object to concatenate with array2.
array2
Required. An Array object to concatenate to the end of array1.
Remarks
The concat method returns an Array object containing the concatenation of array1 and array2.
If an object reference is copied from either array1 or array2 to the result, the object reference in the result still points to the same object. Changes to that object are reflected in both arrays.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js12.htm,
2KB, , updated: 1997年9月30日 04:44, local time: 2025年9月7日 13:08,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js12.htm"> concat Method (Array)</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.