Skip to content

Instantly share code, notes, and snippets.

View wenxiayili's full-sized avatar
🎯
Focusing

shimuhuayunzi wenxiayili

🎯
Focusing
View GitHub Profile
@wenxiayili
wenxiayili / event-loop.md
Created June 1, 2021 03:03 — forked from jesstelford/event-loop.md
What is the JS Event Loop and Call Stack?

Regular Event Loop

This shows the execution order given JavaScript's Call Stack, Event Loop, and any asynchronous APIs provided in the JS execution environment (in this example; Web APIs in a Browser environment)


Given the code