Reverse "Toolliyo" without using reverse() on the array.
Ready — edit the code above and click Run.
const s = "Toolliyo";
let out = "";
for (let i = s.length - 1; i >= 0; i--) out += s[i];
console.log(out);
Try solving on your own first, then reveal the official answer.
Manual loop shows you understand indices—common whiteboard task.