← Your `setTimeout(fn, 0)` Doesn't Run Next. `queueMicrotask` Does.
Playground
queueMicrotask vs setTimeout — the race
preview
Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.
Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.