Understanding Callbacks: The Foundation of Async JavaScript
JavaScript is a single-threaded language. This means it can execute only one piece of code at a time on its main thread.
But modern applications don’t work in a single straight line. They fetch data,
programming-guides.hashnode.dev10 min read