Node.jsNode.js · Middle · 50

Middle Node.js Interview Questions (50 MCQs)

Multiple-choice Node.js interview questions for Middle developers: Deeper concepts and real scenarios. Topics: Event loop, streams, modules, concurrency & the Node runtime. Every answer is checked instantly and comes with a full explanation.

Progress1 of 50 · 0%
middle
event-loop
microtasks

In CommonJS, what does `Promise.resolve().then(() => { process.nextTick(() => console.log('tick')); Promise.resolve().then(() => console.log('p2')); console.log('p1'); });` print?

Pick an option