会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Liu Wango
There is no birth of consciousness without pain.
博客园
首页
新随笔
联系
订阅
管理
2021年2月1日
通过 queueMicrotask() 使用微任务
摘要: 通过 queueMicrotask() 使用微任务
阅读全文
posted @ 2021-02-01 12:11 LiuWango
阅读(1878)
评论(0)
推荐(0)
编辑
宏事件,微事件的执行
摘要: // JS主任务(宏任务1)开始,输出1.Start console.log('1.Start') // setTimeout为宏任务(2),加入宏任务事件循环 setTimeout(function() { console.log('2.Timer is on'); }); new Promise
阅读全文
posted @ 2021-02-01 01:07 LiuWango
阅读(230)
评论(0)
推荐(0)
编辑
公告