Spot the bug

Can you spot the bug in the code snippet?

Solved:
Streak:
Submit a Puzzle