All challenges
Code AnalysisBeginner 60s

Trace: String Reverse

What does this code print?
Starter code
const s = abc;
let result = ;
for (let i = s.length - 1; i >= 0; i--) {
  result += s[i];
}
console.log(result);

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle