javascript reverse string without reverse method
snippet in javascript

javascript reverse a string

user3303

function reverseString(s){
    return s.split("").reverse().join("");
}
reverseString("Hello");//"olleH"

javascript reverse string without reverse method

user7518

function reverse(str){  
  let reversed = "";      
   for (var i = str.length - 1; i >= 0; i--){         
     reversed += str[i];  
   }     
  return reversed;
}