Debug the Snippet - JS

Real-looking buggy code — missing return, const reassignment, off-by-one loops, string coercion from prompt(), and the classic count = count++ self-undoing trap. Spot the bug and know the fix.

8 questions · 30 minutes

JS Advanced : Interview Readiness

Tech Session

Debug the Snippet - JS

Preview

Real-looking buggy code — missing return, const reassignment, off-by-one loops, string coercion from prompt(), and the classic count = count++ self-undoing trap. Spot the bug and know the fix.

8Questions
30 minTime limit
60%Passing score
Unlimited — latest score keptAttempts
Randomized optionsOne at a time