JavaScript
Microtask
A callback queued by a promise or queueMicrotask, run before the next macrotask.
Why interviewers ask about it
Microtasks drain fully, macrotasks one at a time. That asymmetry explains most 'why did this log in that order' questions.
Related terms
This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.