All challenges
Code AnalysisBeginner 45s

Trace: Nested Loops — Triangle

How many times does this print?
Starter code
for (let i = 0; i < 3; i++) {
  for (let j = 0; j < 3; j++) {
    console.log(*);
  }
}

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