Fix typo.

This commit is contained in:
Mario Viens 2018-10-26 15:41:27 -07:00
parent dc904d122e
commit 34bb5ab173

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: