Hi,
I am getting reference error, that aString is not found. I don’t understand the error and the reason why test is failing.
function reverseString(str) {
let String = "";
for (let i = str.length; i >= 0; i-- ){
let aString = String + str[i];
}
return aString;
}
reverseString("hello");
problem link -
Thanks : )