参考 reverse()

reverse()

Reverses the order of an array, maps to Array.reverse()

示例

语法

reverse(list)

参数

list
Array:

Array to reverse

Returns

Array: the reversed list
Notice any errors or typos? Please let us know. Please feel free to edit src/utilities/array_functions.js and open a pull request!

相关参考