← All tasks
🔍
Programming Beginner

Fix a Loose Comparison Bug

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line where a loose comparison causes an unintended match.

Scenario

A function meant to check for the exact string '0' is also matching false and null unexpectedly.

Ready to try it?

Create a free account and try "Fix a Loose Comparison Bug" free for 7 days, no card required. Earn 120 XP and track your internship progress.

Already have an account? Sign in