From 1985bbd3ecde2c1bc85e6232782530c8adbd0d48 Mon Sep 17 00:00:00 2001 From: simpleyoungguy <119386327+simpleyoungguy@users.noreply.github.com> Date: Wed, 8 Oct 2025 17:11:32 +0800 Subject: [PATCH] fixed grammar errors in last few lines of solution.md --- 1-js/11-async/08-async-await/04-promise-all-failure/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/08-async-await/04-promise-all-failure/solution.md b/1-js/11-async/08-async-await/04-promise-all-failure/solution.md index 9fda8e000f..00687c68c5 100644 --- a/1-js/11-async/08-async-await/04-promise-all-failure/solution.md +++ b/1-js/11-async/08-async-await/04-promise-all-failure/solution.md @@ -84,7 +84,7 @@ Now `await customPromiseAllWait(...)` will stall the execution until all queries This is a more reliable approach, as it guarantees a predictable execution flow. -Lastly, if we'd like to process all errors, we can use either use `Promise.allSettled` or write a wrapper around it to gathers all errors in a single [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) object and rejects with it. +Lastly, if we'd like to process all errors, we can use either use `Promise.allSettled` or write a wrapper around it to gather all errors into a single [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) object and reject with it. ```js // wait for all promises to settle