From 55f44de67b288a793326ff78e3cdbf7c3fc3671c Mon Sep 17 00:00:00 2001 From: Nathan Johnson <63086420+narjoDev@users.noreply.github.com> Date: Sun, 5 Oct 2025 15:12:51 -0700 Subject: [PATCH] fix typo in async-await/04/solution `Promise.all` is referred to in the singular, so we should say `it does` rather than `it do`. --- 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..2fe39c269e 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 @@ -1,5 +1,5 @@ -The root of the problem is that `Promise.all` immediately rejects when one of its promises rejects, but it do nothing to cancel the other promises. +The root of the problem is that `Promise.all` immediately rejects when one of its promises rejects, but it does nothing to cancel the other promises. In our case, the second query fails, so `Promise.all` rejects, and the `try...catch` block catches this error.Meanwhile, other promises are *not affected* - they independently continue their execution. In our case, the third query throws an error of its own after a bit of time. And that error is never caught, we can see it in the console.