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

    image.png