Skip to content

Instantly share code, notes, and snippets.

View EryouHao's full-sized avatar
✔️
Yes! Gridea!

Zayn Hao 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.

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