Array Ruby

a = [1,2,3]
p a.reverse!
p a                                  # => [3, 2, 1]