Microsoft® JScript
reverse Method
See Also
Language Reference 


Description

Reverses the elements of an Array object.

Syntax

arrayobj.reverse( )

Remarks

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.


© 1996 by Microsoft Corporation.


Casa de Bender