Level 5

0ms still waits

A timer with a 0ms delay. Does it run straight away?

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

1. Predict the output

Tap the lines in the order you think they print.

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