Update 1-js/11-async/05-promise-api/article.md
Co-authored-by: Vse Mozhe Buty <vsemozhetbyt@gmail.com>
This commit is contained in:
parent
891495cd47
commit
e289aba4ee
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ Promise.race([
|
|||
]).then(alert); // 1
|
||||
```
|
||||
|
||||
The first promise here was fastest, but it rejecets, so the second promise became the result. After the first fulfilled promise "wins the race", all further results are ignored.
|
||||
The first promise here was fastest, but it was rejected, so the second promise became the result. After the first fulfilled promise "wins the race", all further results are ignored.
|
||||
|
||||
|
||||
## Promise.resolve/reject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue