Queue a mix of sync, microtask (Promise.then), and macrotask (setTimeout) work, then hit Run. Watch the call stack empty first, then every microtask drain, then one macrotask — exactly the order the real engine uses.
Promise.then
setTimeout