Merge pull request #498 from afshinator/patch-1

Fix missing word
This commit is contained in:
Ilya Kantor 2018-09-30 23:42:35 +03:00 committed by GitHub
commit 5d52efe375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,7 @@ The meaning is the same: it ensures that the returned value is a promise and ena
````
## Error handling
If a promise resolves normally, then `await promise` returns the result. But in case of a rejection it throws the error, just if there were a `throw` statement at that line.
If a promise resolves normally, then `await promise` returns the result. But in case of a rejection it throws the error, just as if there were a `throw` statement at that line.
This code: