This website requires JavaScript.
Explore
Help
Register
Sign In
rou
/
front-end-example
Watch
1
Star
0
Fork
0
You've already forked front-end-example
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
8b83f63235cc36353f7fc03c05dee40ff0434dc9
front-end-example
/
05-es6-plus
/
06-async-await
History
rou
1071f4db05
update
2026-03-23 14:56:04 +08:00
..
answer.html
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
answer.js
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
README.md
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
starter.html
feat: add TypeScript lessons and learning panel
2026-03-19 10:06:11 +08:00
starter.js
update
2026-03-23 14:56:04 +08:00
README.md
Unescape
Escape
练习 6
:
async / await
目标
学会用
async
/
await
改写一个 Promise 流程。
你要练什么
async
await
try...catch
任务
写一个
async
函数等待课程配置
成功时渲染结果
失败时更新状态
文件
starter.html
starter.js
answer.html
answer.js