JuniorJunior (1–3 yrs)CodingReactMetaGoogleAmazon
Event Loop and Microtasks
Describe the browser/Node event loop: call stack, macrotasks, and microtasks (Promises). What prints first in setTimeout(0) vs Promise.then?
Answers use simple, clear English.
Confidence
#event-loop#javascript