会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
dongxiaolei
博客内容仅作为个人学习笔记使用!!
博客园
首页
新随笔
联系
订阅
管理
2020年5月21日
js执行顺序(微任务 宏任务)
摘要: //Promise执行 执行resolve会进then 执行reject会进入catchsetTimeout(()=>{ console.log('set1'); }) new Promise((resolve,reject)=>{ console.log('p1'); resolve(); //同
阅读全文
posted @ 2020-05-21 14:20 dongxiaolei
阅读(286)
评论(0)
推荐(0)
编辑
公告