Microtask Queue: Javascript Advance Concepts
A child’s analogy to understand microtask queue in Javascript
Published in
5 min readDec 14, 2022
Analogy
You were baking cookies in the callback queue let's continue with that. You had a recipe that told you what ingredients to use and what steps to follow to make the cookies. Some of the steps in the recipe took longer to do than others, and you wrote…