Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function reverseString(str){
if(str=""){
return "";
}
else{
}
}
reverseString("hello");
console.log(reverseString("hello"));
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36 OPR/77.0.4054.277
Challenge: Reverse a String
Link to the challenge: