We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c311b commit 98130f8Copy full SHA for 98130f8
1 file changed
1-js/11-async/08-async-await/01-rewrite-async/solution.md
@@ -29,6 +29,6 @@ loadJson('no-such-user.json')
29
}
30
```
31
32
- 然后外部的代码就可以用 `await` 来等待这个 promise 被解析。在本例中可忽略。
+ 然后外部的代码就可以用 `await` 来等待这个 promise 被决议。在本例中可忽略。
33
4. `loadJson` 抛出的错误被 `.catch` 处理了。并且我们不能用 `await loadJson(…)`,因为不是在 `async` 函数中。
34
0 commit comments