JavaScript Promises and Async/Await
Creating a Promise
A Promise is created using the Promise constructor, which takes a single argument, a function called the "executor." The executor function takes two arguments: a resolve function and a reject function. The resolve function is used ...
mandeepsingh.hashnode.dev3 min read