17

EventLoop

 5 years ago
source link: https://juejin.im/post/5b06ab416fb9a07a9919413d
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是一门单线程语言,这也就说明JS无法进行多线程,但是JS中异步的功能完全可以模拟多线程,而且效果还杠杠滴。当然,如果想完全理解异步,首先要了解JS的运行核心——事件环(Event Lo

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK