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

 

JScript Array Object reverse Method

Reverses the elements of an Array object.

Syntax: JScript Array Object reverse Method

arrayobj.reverse( )

Arguments: JScript Array Object reverse Method

arrayObj

The name of an Array object. Required.

Remarks: JScript Array Object reverse Method

The reverse method reverses the elements of an Array object in place. It does not create a new Array object during execution.

If the array is not contiguous, the reverse method creates elements in the array that fill the gaps in the array. Each of these created elements has the value undefined.

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