Array
.Reverse
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Array
Array
.Reverse
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Array
All Members
Variables
length
Constructors
Array
Functions
Add
Clear
Concat
Join
Pop
Push
RemoveAt
Reverse
Shift
Sort
Unshift
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);