Skip to content

Instantly share code, notes, and snippets.

Avatar
✔️
Yes! Gridea!

海岛心hey EryouHao

✔️
Yes! Gridea!
View GitHub Profile
@EryouHao
EryouHao / event-loop.md
Created December 31, 2019 07:20 — forked from AkatQuas/event-loop.md
Depth in Event Loop, both browser and Node.js.
View event-loop.md

Depth in Event Loop

For those JavaScript programmers, event loop is an important concept, inevitably.

Literally, event loop is what JavaScritp uses to implement non-blocking execution. Understanding how the event loops works internally would benefit you a lot when programming in JavaScript.

There are two major environments JavaScript runs in: browser and Node.js.

Browser