Update article.md
This commit is contained in:
parent
f81fd00c48
commit
27db301a75
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ async function 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
|
||||
async function f() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue