T
16

Spent 6 hours debugging a missing semicolon in JavaScript

Was working on a simple calculator app for my portfolio. Code looked fine. Console showed nothing. Checked every function twice. Turned out I forgot a semicolon after a return statement in a helper function. Right there in line 47. Has anyone else wasted a whole day on something this dumb?
1 comments

Log in to join the discussion

Log In
1 Comment
danieltaylor
Honestly fixed a missing bracket once and felt like the world's biggest idiot for hours.
-1