Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Array Objects > Array reverse() MethodThe reverse() method switches the order of the elements of an array, so that the last element becomes the first. SyntaxReturnsarrayName with the elements in reverse order. UsageThe reverse() method sorts the existing array, rather than returning a new array. In any references to the array after the reverse() method is used, the new order is used. Examplevar communalInsect = new Array; communalInsect[0] == "wasp" |
Siebel eScript Language Reference |