We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4247b commit 0af25bcCopy full SHA for 0af25bc
1-js/11-async/08-async-await/04-promise-all-failure/task.md
@@ -55,7 +55,7 @@ async function run() {
55
try {
56
await Promise.all([
57
// these 3 parallel jobs take different time: 100, 200 and 300 ms
58
- // we use delay helper for this effect
+ // we use delay helper to achieve this effect
59
*!*
60
delay(() => database.query(true), 100),
61
delay(() => database.query(false), 200),
@@ -72,7 +72,7 @@ async function run() {
72
run();
73
```
74
75
-Two of these queries are (by chance) unsuccessful, but we handle it by wrapping the `Promise.all` call into a `try..catch` block.
+Two of these queries happen to be unsuccessful, but we're smart enough to wrap the `Promise.all` call into a `try..catch` block.
76
77
However, this doesn't help! This script actually leads to an uncaught error in console!
78
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments