Part 6: Microtasks and Why Two Queues
What no one teaches you about the JavaScript Event Loop — Part 6 of 8
A puzzle, slightly harder
Promise.resolve().then(() => {
console.log('1');
Promise.resolve().then(() => console.log('2'))
srekaravarshan.hashnode.dev28 min read