Skip to content

Commit 96c311b

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

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
@@ -263,7 +263,7 @@ f().catch(alert); // TypeError: failed to fetch // (*)
263263
*/!*
264264
```
265265

266-
如果我们忘了添加 `.catch`,我们就会得到一个未处理的 promise 错误(显示在控制台)。我们可以通过在<info:promise-error-handling> 章节讲的全局事件处理器来捕获这些。.
266+
如果我们忘了添加 `.catch`,我们就会得到一个未处理的 promise 错误(显示在控制台)。我们可以通过在 <info:promise-error-handling> 章节讲的全局事件处理器来捕获这些。
267267

268268

269269
```smart header="`async/await``promise.then/catch`"

0 commit comments

Comments
 (0)