js revers string fucntion
snippet in javascript

javascript reverse a string

user6072

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

javascrip reverse text

user2039

//more compact way: 
"my example text".split("").reverse().join("");

js revers string fucntion

user6157

return str.split("").reverse().join("");

reverse string js

user9124

const solution = (str) => str.split("").reverse().join("");

js how to reverse a string

user5311

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