JavaScript Runtime Environment and The Event Loop
Concurrency in JavaScript
When running JavaScript in a browser, it may appear that JavaScript is multi-threaded, but it's not. JavaScript is a single-threaded programming language, which means it has a single call stack and can only execute one task ...
·6 min read·tigerabrodi.blogRead the article
shohanur rahman
Start End Inside Promise 1 Inside Promise 2 Inside setTimeout 1 Inside setTimeout 2