simply reverse string code example
Example: simply reverse string
function reverseString(str) {
return str.split("").reverse().join("");
}
reverseString("hello");
function reverseString(str) {
return str.split("").reverse().join("");
}
reverseString("hello");