Node.js - Timers and Scheduling
Consider this code:
process.nextTick(() => console.log('A'));
setImmediate(() => console.log('B'));
process.nextTick(() => console.log('C'));
setImmediate(() => console.log('D'));
What is the correct order of output?