Level 6

Shortest alarm first

Two timers written in one order, with different delays.

setTimeout(() => console.log('slow'), 100);setTimeout(() => console.log('fast'), 10);console.log('sync');

1. Predict the output

Tap the lines in the order you think they print.

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