---
title: "Discussion on \"Promises in Javascript\" | Hashnode"
description: "Discussion on \"Promises in Javascript\". A Promise represents the state of an asynchronous operation. This asynchronous operation can be anything i.e fetching data from an API, reading contents from a file, etc. \nBefore promises we had callbacks, but they had fewer capabilities and lead to ..."
url: "https://hashnode.com/posts/promises-in-javascript/609124cf150acd0260714bca"
---

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

Discussion

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

A Promise represents the state of an asynchronous operation. This asynchronous operation can be anything i.e fetching data from an API, reading contents from a file, etc. Before promises we had callbacks, but they had fewer capabilities and lead to ...

May 4, 2021 · 2 min read · deepansh946.hashnode.dev  
Updated May 10, 2021  
Read the article

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

## Written by

[Deepansh Bhargava](https://hashnode.com/@deepansh)

@deepansh · Guna, India

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

Software Developer @ HST Solar

Hey, 👋 I am a full stack engineer who is well versed with microservices architecture and UI/UX concepts. I can build highly scalable web apps that can scale to lakhs of users and can write modular code for better results. I am always eager to learn new technologies and methodologies.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
