4
Spent 4 hours debugging a missing semicolon in JavaScript yesterday
3 comments
Log in to join the discussion
Log In3 Comments
johnson.jesse29d ago
Whoa, I used to think semicolons were optional until one broke my whole afternoon too.
4
sean_johnson1629d ago
Nodding along to this because I've been there more times than I care to count. Its always the smallest thing that takes down the whole house of cards. You stare at the screen for an hour wondering what happened, and its just one little mark you skipped over. Makes you feel like a rookie every single time.
3
valh3229d ago
250 lines of code. All because I forgot one stupid semicolon. @johnson.jesse you're right, I thought they were just for show too. Now I triple check every single one before I even think about running the script.
1