Array.Reverse反转


function Reverse () : Array

Description描述

Reverses the order of all elements contained in the array

反转数组中所有元素的顺序。

var hello = new Array ("Hello", "World");hello.Reverse();// 打印结果为 World, Helloprint(hello);


,