silvana1303

reverse an array of strings

Apr 7th, 2021
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function  solve(arr){
  2.  
  3.     arr.reverse();
  4.     console.log(arr.join(' '));
  5.  
  6. }
Advertisement
Add Comment
Please, Sign In to add comment