Skip to content

Commit 5761e73

Browse files
committed
fix(promise-rance): fix typo
fix #281
1 parent 4a7589b commit 5761e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ch2_HowToWrite/promise-race.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ include::embed/embed-promise-race-other.js[]
3535

3636
先ほどのコードに `console.log` をそれぞれ追加しただけの内容となっています。
3737

38-
実行してみると、winnter/loser どちらも `setTimeout` の中身が実行されて `console.log` がそれぞれ出力されていることがわかります。
38+
実行してみると、winter/loser どちらも `setTimeout` の中身が実行されて `console.log` がそれぞれ出力されていることがわかります。
3939

4040
つまり、<<Promise.race, `Promise.race`>>では、
4141
一番最初のpromiseオブジェクトがFulfilledとなっても、他のpromiseがキャンセルされるわけでは無いということがわかります。

0 commit comments

Comments
 (0)