ary.reverse â new_ary
Instance Public methods
Returns a new array containing self
's elements in reverse
order.
[ "a", "b", "c" ].reverse #=> ["c", "b", "a"] [ 1 ].reverse #=> [1]
Returns a new array containing self
's elements in reverse
order.
[ "a", "b", "c" ].reverse #=> ["c", "b", "a"] [ 1 ].reverse #=> [1]
Please login to continue.