N+1 Sequential Await Loop Slowdown (Promise.all Fix)
What's Broken (Symptom)
Enriching 5 order rows with `await fetchCustomer(id)` inside a `for...of` loop takes 5x longer sequentially instead of running concurrently.
Expected Behavior
- • Execute independent per-item async lookups concurrently via `Promise.all(ids.map(...))` while keeping result ordering intact.
Debugging Hints (0/2 used)
Try spotting the bug in the editor first. Need a nudge? Reveal Hint 1 anytime.
Root Cause Breakdown
Pass all 1 automated verification checks on the right to unlock the full Root Cause explanation.
Automated Bug Verification
1 Checks Ready- Fetches all customers in parallel within <120ms5 calls of 50ms each resolve together cleanly.
Live Sandboxed PreviewCtrl + Enter to verify
Console Output0 log(s)
No console output yet. Run Preview or Verify Bug Fix.