console.log('Start');

setTimeout(() => {
    console.log('Timeout');
}, 0);

setImmediate(() => {
    console.log('Immediate');
});

process.nextTick(() => {
    console.log('Next Tick 1');
});

process.nextTick(() => {
    console.log('Next Tick 2');
});

console.log('End');