Skip to content

Commit 43f798a

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 cc7489e commit 43f798a

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
@@ -17,7 +17,7 @@ loadJson('no-such-user.json')
1717
.catch(alert); // Error: 404 (4)
1818
```
1919

20-
解析:
20+
解析
2121

2222
1. 将函数 `loadJson` 变为 `async`
2323
2. 将所有的 `.then` 替换为 `await`

0 commit comments

Comments
 (0)