Level 9

The clock starts now

A 50ms timer, then a timer that sets a 5ms timer of its own.

setTimeout(() => console.log('A'), 50);setTimeout(() => {  console.log('B');  setTimeout(() => console.log('C'), 5);}, 0);

1. Predict the output

Tap the lines in the order you think they print.

  1. 1…
  2. 2…
  3. 3…