36

JavaScript多线程编程

 5 years ago
source link: https://juejin.im/post/5bcc1887f265da0aff177227
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.
浏览器端JavaScript是以单线程的方式执行的,也就是说JavaScript和UI渲染占用同一个主线程,那就意味着,如果JavaScript进行高负载的数据处理,UI渲染就很有可能被阻断,浏览器就会出现卡顿,降低了用户体验。 为此,JavaScript提供

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK