Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript基础之Event Loop #23

Open
Hzzz opened this issue Mar 29, 2020 · 0 comments
Open

JavaScript基础之Event Loop #23

Hzzz opened this issue Mar 29, 2020 · 0 comments

Comments

@Hzzz
Copy link
Owner

Hzzz commented Mar 29, 2020

任务队列
JS Stack 主线程执行栈
Micro tasks 微任务队列(MutaionObserver, promise)
Macro tasks 宏任务队列(setTimeout, setInterval)
执行顺序: Micro tasks > Macro tasks

tasks-microtasks-queues-and-schedules

事件循环是如何影响页面渲染的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant