sriyasriya.hashnode.dev·Feb 9, 2023JS 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...1 like·110 readsJS PolyfillsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.