Advertisement
Mvelchev

Untitled

May 25th, 2022
1,065
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function reverse(str){
  2.    const newStr = str.split('').reverse().join('');
  3.   console.log(newStr);
  4. }
Advertisement
RAW Paste Data Copied
Advertisement