The Forgotten Await
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- easy
- Pro
A function loads a user and checks if they are an admin, but every user is treated as an admin, and logging the result shows a pending promise. Explain what went wrong, and how you'd find bugs like this sooner.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.