Tell us what’s happening:
Describe your issue in detail here.
This is the second challenge in a row that doesn’t pass, even though my console.log statements show my code produces the required output. Am I doing something wrong? Am I missing something? Or does FCC have issues?
**Your code so far**
function reverseString(str) {
let splitHello = str.split("");
console.log(splitHello);
let reverseHello = splitHello.reverse();
console.log(reverseHello);
let joinLetters = reverseHello.join("");
console.log(joinLetters);
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/104.0.0.0 Safari/537.36
Challenge: Basic Algorithm Scripting - Reverse a String
Link to the challenge: