// your code goes here
function reverseString(str){
strRev = "";
for(let i=0; i<str.length; i++){
strRev = str[i] + strRev;
}
return strRev;
}
console.log(reverseString("Hello"));
Ly8geW91ciBjb2RlIGdvZXMgaGVyZQpmdW5jdGlvbiByZXZlcnNlU3RyaW5nKHN0cil7CglzdHJSZXYgPSAiIjsKCQoJZm9yKGxldCBpPTA7IGk8c3RyLmxlbmd0aDsgaSsrKXsKCQlzdHJSZXYgPSBzdHJbaV0gKyBzdHJSZXY7Cgl9CnJldHVybiBzdHJSZXY7Cn0KCmNvbnNvbGUubG9nKHJldmVyc2VTdHJpbmcoIkhlbGxvIikpOwo=