yygmind / blog

我是木易杨,公众号「高级前端进阶」作者,跟着我每周重点攻克一个前端面试重难点。接下来让我带你走进高级前端的世界,在进阶的路上,共勉!

Home Page:https://muyiy.cn/blog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS异步之Async

yygmind opened this issue · comments

要点:
1、await并不阻塞线程
2、async对异步错误处理是使用try/catch
3、使用Promise.all()可以将多个await操作并行

题目