JS has one call stack and the code written in it is the main execution thread and it ensures the concurrency. So if any operation(like async) blocks this call stack, it is called blocking the main thread. To ensure concurrency, JS has microtask queue...
Markdown supported · ⌘↵ to post
No responses yet.