29

详解高级前端面试常问的EventLoop

 5 years ago
source link: https://juejin.im/post/5b07d0d1f265da0de02f40e3
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.
首先啥是EventLoop? 整个js这种运行机制又称为Event Loop(事件循环) EventLoop又分为浏览器端和node端两种 上代码感受一下 setTimeout(() => { console.log(1)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK