6
Vent: Spent 4 hours debugging a missing semicolon last night
I'm working through a JavaScript course on Udemy and got stuck on a project for like 4 hours. Turns out I forgot one semicolon at the end of a line. The worst part is the error message just said "unexpected token" and pointed to a completely random spot. Has anyone else had a bug that small make you want to throw your laptop out the window?
2 comments
Log in to join the discussion
Log In2 Comments
abbyk101mo ago
Four hours over a semicolon is brutal... I've been there with missing brackets.
8
the_jason1mo ago
That reminds me of this time I was trying to put together IKEA furniture and spent two hours trying to figure out why this one piece wouldn't fit. Turned out I was trying to screw a bracket in upside down. The whole thing just clicked into place once I flipped it around. It's funny how those tiny mistakes can eat up hours when you're just staring at the same thing over and over.
5