Flowdock
reverse() public

Returns a new array containing self’s elements in reverse order.

[ "a", "b", "c" ].reverse   #=> ["c", "b", "a"]
[ 1 ].reverse               #=> [1]
Show source
Register or log in to add new notes.