Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardNodeJSprocess.nextTick queue orderSingle-choice MCQ

What is the printed order, and what does it reveal about how nextTick callbacks scheduled from within the nextTick queue are handled?

process.nextTick(() => { console.log('outer'); process.nextTick(() => console.log('inner')); });