Skip to content

Commit 6bd3fbd

Browse files
savokissleviding
andauthored
Update 1-js/11-async/08-async-await/01-rewrite-async/solution.md
Co-Authored-By: LeviDing <imdingxuewen@gmail.com>
1 parent 2dee4ca commit 6bd3fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/11-async/08-async-await/01-rewrite-async

1-js/11-async/08-async-await/01-rewrite-async/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ loadJson('no-such-user.json')
2121

2222
1. 将函数 `loadJson` 变为 `async`
2323
2. 将所有的 `.then` 替换为 `await`
24-
3. 我们也可以不等待,直接 `return response.json()` , 像这样:
24+
3. 我们也可以不等待,直接 `return response.json()`像这样:
2525

2626
```js
2727
if (response.status == 200) {

0 commit comments

Comments
 (0)