j quesry code that take a word from html form and reverses it' code example
Example: javascript reverse a string
function reverseString(s){
return s.split("").reverse().join("");
}
reverseString("Hello");//"olleH"
function reverseString(s){
return s.split("").reverse().join("");
}
reverseString("Hello");//"olleH"