All 35 Bugs /
0/35 Fixed ✓
TypeScriptMedium~10 min

Async Function Missing Await Returning Promise Wrapper Bug

What's Broken (Symptom)

Forgot `await` inside an async transformation pipeline, leaving callers with a wrapped `Promise` instead of the resolved user name.

Expected Behavior

  • • Properly `await` the inner async fetch helper before accessing `.name`.

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
  • Awaits async fetcher and formats resolved nameReturns "Welcome, Asha" instead of "Welcome, undefined".
bugfix.ts
Live Sandboxed PreviewCtrl + Enter to verify
Console Output0 log(s)
No console output yet. Run Preview or Verify Bug Fix.