Articles in this series
What is Synchronous in JavaScript? JavaScript is a synchronous single-threaded language. Synchronous means the execution of the code happens...
What is a callback? A callback function is a function that is passed into another function as an argument, which is then invoked inside that outer...
A Promise is an object which is used to find out if the asynchronous operation is completed or not. The Promise object has two properties: state and...
We use the then() and catch() method to handle promises. But we have another way of handling promises and that is async/await. Sometimes, using too...
Javascript is a synchronous single-threaded language. JS executes all operations on a single thread. It executes one thing at a time. The Event loop...