61

从面试题看 JS 事件循环与 macro micro 任务队列

 5 years ago
source link: https://juejin.im/post/5c8a024d51882546be0a3082
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
背景 一天惬意的下午。朋友给我分享了一道头条面试题,如下: async function async1(){ console.log('async1 start') await async2() console.log('async1

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK