Synchronous vs Asynchronous JavaScript
JavaScript runs one line at a time, in order, top to bottom. That's the default. And for most code, that's fine.
But what happens when one of those lines takes two seconds? Everything after it waits.
kushagrablogs.hashnode.dev5 min read