---
title: "Discussion on \"Promise in JavaScript and methods\" | Hashnode"
description: "Discussion on \"Promise in JavaScript and methods\". What is promise and why we use it?\nWe will take a real life example, your best friend calls you and tell you that he is getting married soon, and he asks you to come.\nAnd being a good friend, you promised him that 'Sure! I will come'. Now if you go t..."
url: "https://hashnode.com/posts/promise-in-javascript-and-methods/62d97ea859f0dc59d51f07c4"
---

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

Discussion

# [Promise in JavaScript and methods](https://sharmaryan.hashnode.dev/promise-in-javascript-and-methods?utm_source=hashnode&utm_medium=feed)

What is promise and why we use it? We will take a real life example, your best friend calls you and tell you that he is getting married soon, and he asks you to come. And being a good friend, you promised him that 'Sure! I will come'. Now if you go t...

Jul 21, 2022 · 4 min read · sharmaryan.hashnode.dev  
Read the article

-   [#promise-methods](https://hashnode.com/tag/promise-methods)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)

## Written by

[Aryan Sharma](https://hashnode.com/@sharmaryan)

@sharmaryan

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

frontend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
