Spent 3 hours debugging a missing semicolon last night and wanted to throw my laptop out the window
Been learning JavaScript for about 2 months now. Working on a little project to calculate material costs for my flooring quotes. Had this one function that just would not run no matter what I did. Checked every line three times. Rewrote parts of it. Finally zoomed in on line 47 and there it was - a stupid semicolon I forgot after an object definition. Three hours of my life gone. Who else has had bugs this dumb that took way too long to find?
Just use semicolons everywhere to be safe" - nah, missing one semicolon isn't the end of the world. It sucks when it happens but you'll get faster at spotting them.