← Your `setTimeout(fn, 0)` Doesn't Run Next. `queueMicrotask` Does.Quiz
queueMicrotask vs setTimeout: test yourself
Seven questions on microtask vs macrotask ordering, queueMicrotask's API, and the gotchas that trip people up in tests and libraries.
questions7
pass mark70%
resultsat the end
No account needed. Answer all 7 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.