string reversewords javascript issue code example
Example: reverse words in a string javascript
function reverseString(str) {
return str.split("").reverse().join("");
}
reverseString("hello");
function reverseString(str) {
return str.split("").reverse().join("");
}
reverseString("hello");