Day 3: Can You Spot the Bug in This JavaScript Function?

submitted by /u/MysteriousEye8494
[link] [comments]