---
title: "Discussion on \"JS Polyfills - Part 5 Promises (resolve, reject, all, race, then, catch, allSettled, any)\" | Hashnode"
description: "Discussion on \"JS Polyfills - Part 5 Promises (resolve, reject, all, race, then, catch, allSettled, any)\". Github Code: JS Polyfills\nWhat are Promises? Promise is an object that represents the eventual completion or failure of an asynchronous operation.\nWhy do we use them? To avoid callback hell\nWhere can we use them? We can use promises in different asyn..."
url: "https://hashnode.com/posts/javascript-polyfills-1/63e4931d35cd39aaa14defd5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JS Polyfills - Part 5 Promises (resolve, reject, all, race, then, catch, allSettled, any)](https://sriya.hashnode.dev/javascript-polyfills-1?utm_source=hashnode&utm_medium=feed)

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...

Feb 9, 2023 · 5 min read · sriya.hashnode.dev  
Updated Feb 10, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#polyfills](https://hashnode.com/tag/polyfills)

## Written by

[sriya](https://hashnode.com/@sriyak)

@sriyak · Hyderabad, India

  
[View profile](https://hashnode.com/@sriyak)

Specialist Full Stack UI - Back to basics

Hi, I'm a full stack UI developer working in a specialist role. Sparked by details!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
