Update article.md

This commit is contained in:
Ilya Kantor 2019-04-17 08:39:51 +03:00 committed by GitHub
parent f81fd00c48
commit 27db301a75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,7 +250,7 @@ async function f() {
f(); f();
``` ```
If we don't have `try..catch` and a promise generated by the call of the async function `f()` becomes rejected. We can append `.catch` to handle it: If we don't have `try..catch`, then the promise generated by the call of the async function `f()` becomes rejected. We can append `.catch` to handle it:
```js run ```js run
async function f() { async function f() {