JS Polyfills - Part 5 Promises (resolve, reject, all, race, then, catch, allSettled, any)
Github Code: JS Polyfills
What are Promises? Promise is an object that represents the eventual completion or failure of an asynchronous operation.
Why do we use them? To avoid callback hell
Where can we use them? We can use promises in different asyn...
sriya.hashnode.dev5 min read