Part 5: The Event Loop, Mechanically
What no one teaches you about the JavaScript Event Loop — Part 5 of 8
A puzzle, with the answer on the line
console.log('1');
setTimeout(() => console.log('2'), 0);
Promise.resolve().then(() => conso
srekaravarshan.hashnode.dev27 min read