reverse()

  1. <body>
  2. <script>
  3. var arr =["html","css","javascript"]
  4. console.log(arr.reverse()); //["javascript","css","html"]
  5. </script>
  6. </body>