Array.Reverse Manual     Reference     Scripting  
Scripting > Runtime Classes > Array
Array.Reverse

function Reverse () : Array

Description

Reverses the order of all elements contained in the array

var hello = new Array ("Hello", "World");
hello.Reverse();
// prints World, Hello
print(hello);