(JS) Function reverseArray() take an array as argument and returns a new array with the elements in the reverse order.