Update 1-js/11-async/05-promise-api/article.md

Co-authored-by: Vse Mozhe Buty <vsemozhetbyt@gmail.com>
This commit is contained in:
Mustafa Kemal Tuna 2020-11-20 15:43:20 +03:00 committed by GitHub
parent 891495cd47
commit e289aba4ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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