reverseArray

T[]
reverseArray
(
T
)
(
T[] s
)

Return Value

Type: T[]

the reverse of an array

Examples

assert([1, 2, 3, 4].reverseArray == [4, 3, 2, 1]);

Meta