Mar 27 · 5 min read · Introduction Imagine JavaScript as a manager in an office 🧑💼. Before starting any work, the manager doesn’t immediately execute tasks.Instead, they: Prepare everything first (assign space, organiz
Join discussion
Feb 4 · 14 min read · Imagine you've just created an algorithm, and it works lightning-fast on your brand-new computer. You're thrilled with the results and can't wait to share your success, so you ask your friend to give it a try. However, when your friend runs the same ...
Join discussion
Dec 5, 2025 · 9 min read · 🧭 Introduction Ever wondered how JavaScript seems to do many things at once—fetching data, responding to clicks, updating the DOM—yet it’s single-threaded?The secret lies in its asynchronous architecture powered by the event loop. In this post, we’l...
Join discussionNov 17, 2025 · 109 min read · In a recent interview, my friend was asked an interesting question — and I got it wrong too at first. The trick was that async has higher priority than setTimeout. I later realized why: async returns a Promise, and Promises are handled in the microta...
Join discussion