5
My first real code broke and I panicked on my kitchen floor
I was staring at my laptop at 2am while my three kids slept, and a single missing semicolon crashed my entire JavaScript page. Turns out reading the error message line by line instead of guessing fixed it in 5 minutes. Has anyone else spent hours debugging just to find it was something tiny?
2 comments
Log in to join the discussion
Log In2 Comments
patricia_wright14d ago
Did you check the error console before tearing your hair out?
6
blaker7515d ago
Hey, a semicolon isn't the only thing that can crash JavaScript. A missing bracket or a typo in a variable name will do it just as fast. I've spent way too many late nights chasing phantom bugs that turned out to be a single stray character.
3