We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f4624 commit 6d27a1bCopy full SHA for 6d27a1b
1 file changed
1-js/11-async/04-promise-error-handling/01-error-async/solution.md
@@ -8,6 +8,6 @@ new Promise(function(resolve, reject) {
8
}).catch(alert);
9
```
10
11
-正如本章所述,函数代码周围有个 “隐式 `try..catch`”。所以所有同步错误都被处理。
+正如本章所述,函数代码周围有个“隐式 `try..catch`”。所以所有同步错误都被处理。
12
13
但是这里的错误并不是在执行阶段生成的,而是在其之后才生成错误。所以 promise 无法处理它。
0 commit comments