How JavaScript Handles Async Operations
JavaScript is single-threaded. That means it has only one brain and one pair of hands. It can strictly do only one thing at a time.
So, how is it possible that your browser can fetch data from a server, listen for mouse clicks, and run an animation a...
promiseo.hashnode.dev2 min read