need help
function reverseString(str) {
let str = "olleh"
return str;
}
reverseString("hello");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.44
Challenge: Basic Algorithm Scripting - Reverse a String
Link to the challenge: