Contents

Roo

Array.reverse!

Reverses the order of this array’s elements and returns this array.

var a = ["a", "b", "c"]
a.reverse! # => ["c", "b", "a"]