Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Array Object concat Method

Combines two arrays to create a new array.

Syntax: JScript Array Object concat Method

array1.concat(array2)

Arguments: JScript Array Object concat Method

array1

An Array object to concatenate with array2. Required.

array2

An Array object to concatenate to the end of array1. Required.

Remarks: JScript Array Object concat Method

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.