---
title: "Discussion on \"Promise.all()\" | Hashnode"
description: "Discussion on \"Promise.all()\". The Promise.all() accepts an array of promises and returns a promise that resolves when all of the promises in the array are fulfilled or when the iterable contains no promises. It rejects with the reason of the first promise that rejects.\nThe code f..."
url: "https://hashnode.com/posts/promiseall/66a1cef42679d1103ceb724d"
---

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

Discussion

# [Promise.all()](https://bidhubhushan.hashnode.dev/promiseall?utm_source=hashnode&utm_medium=feed)

The Promise.all() accepts an array of promises and returns a promise that resolves when all of the promises in the array are fulfilled or when the iterable contains no promises. It rejects with the reason of the first promise that rejects. The code f...

Jul 25, 2024 · 1 min read · bidhubhushan.hashnode.dev  
Read the article

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

## Written by

[Bidhubhushan Gahan](https://hashnode.com/@charlie1024)

@charlie1024

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

Frontend Enthusiast

## Responses 1

Markdown supported · ⌘↵ to post

No responses yet.
