Merge pull request #576 from tendermario/patch-1

Fix typo.
This commit is contained in:
Ilya Kantor 2018-11-03 19:30:50 +03:00 committed by GitHub
commit 7361a228e4
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: