Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Array   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Array
  • All Members
  • Variables
  • length
  • Constructors
  • Array
  • Functions
  • Add
  • Clear
  • Concat
  • Join
  • Pop
  • Push
  • RemoveAt
  • Reverse
  • Shift
  • Sort
  • Unshift

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);