JavaScript Array Methods: Example of reverse()