j quesry code that take a word and reverses it' code example
Example: js how to 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"