Inside a Promise .then() callback, you schedule both a process.nextTick and a queueMicrotask, then resolve another promise. What is the output order?
Promise.resolve().then(() => {
console.log('then');
process.nextTick(() => console.log('nextTick'));
queueMicrotask(() => console.log('microtask'));
Promise.resolve().then(() => console.log('inner then'));
});