Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Microtasks get executed BEFORE macrotasks

Correct.

> they still get executed AFTER the current call stack is completed.

Correct.

> I'm pretty sure in JS it would be [...]

Your understanding of JS event loop is correct but you reached the wrong conclusion.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: