Question 18/24
advanced
Select one answer

What is the difference between microtasks and macrotasks?

Microtasks are smaller functions, macrotasks are larger
Microtasks (Promises) execute before macrotasks (setTimeout) in the event loop
Macrotasks have higher priority than microtasks
They are the same thing

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.