Level 23

nextTick cuts in

A promise callback, then a nextTick written after it.

Promise.resolve().then(() => console.log('promise'));process.nextTick(() => console.log('nextTick'));console.log('sync');

1. Predict the output

Tap the lines in the order you think they print.

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