---
title: "Discussion on \"JavaScript Promises?\" | Hashnode"
description: "Discussion on \"JavaScript Promises?\". When we use multiple nested callback functions a big problem arises which is known as Callback Hell or pyramid of doom. The promise is used to handle multiple asynchronous functions and their errors (if occur).\nA promise contains two parameters, the ..."
url: "https://hashnode.com/posts/javascript-promises/63ac138a1dbd7c305c20359a"
---

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

Discussion

# [JavaScript Promises?](https://prashanthandel.hashnode.dev/javascript-promises?utm_source=hashnode&utm_medium=feed)

When we use multiple nested callback functions a big problem arises which is known as Callback Hell or pyramid of doom. The promise is used to handle multiple asynchronous functions and their errors (if occur). A promise contains two parameters, the ...

Dec 28, 2022 · 2 min read · prashanthandel.hashnode.dev  
Updated Feb 24, 2023  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#promises](https://hashnode.com/tag/promises)
-   [#promise](https://hashnode.com/tag/promise)
-   [#html5](https://hashnode.com/tag/html5)
-   [#promise-methods](https://hashnode.com/tag/promise-methods)

## Written by

[Prashant Handel](https://hashnode.com/@prashanthandel)

@prashanthandel · Indore, India

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

Frontend Developer

I'm a self taught web developer and a learner as well. I am sharing my experiences and knowledge here with a hope to help those who are beginners as sharing helps to grow together.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
