Code AnalysisBeginner 60s
Trace: While Loop
What is the result?
Starter code
let i=5,s=0;
while(i>0){s+=i;i--}
console.log(s)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.