Skip to content

Commit f0aee77

Browse files
savokissleviding
andauthored
Update 1-js/11-async/08-async-await/article.md
Co-Authored-By: LeviDing <imdingxuewen@gmail.com>
1 parent 0764001 commit f0aee77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

1-js/11-async/08-async-await/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async function f() {
250250
f();
251251
```
252252

253-
如果我们不使用 `try...catch`,由`f()` 产生的 promise 就会被拒绝。我们可以在函数调用后添加 `.catch` 来处理错误:
253+
如果我们不使用 `try..catch`,由`f()` 产生的 promise 就会被拒绝。我们可以在函数调用后添加 `.catch` 来处理错误:
254254

255255
```js run
256256
async function f() {

0 commit comments

Comments
 (0)