Latihan 1: Async & Microtask Debugging — Debugging

Latihan 1 dari materi Async & Microtask Debugging di Debugging — praktek dengan editor kode interaktif, test case otomatis, dan hint terpandu. Langsung jalan di browser.

Prediksi urutan output async + deteksi bug unhandled rejection.

1. simulateEventLoop(tasks)

2. findForgottenAwait(source)

3. detectUnhandledRejection(promises)

Hint