R
17

Spent 4 hours debugging a missing semicolon in JavaScript

I was working on a simple calculator app and kept getting an error that made zero sense. Turns out I forgot a semicolon after a line in a function - 4 hours gone. How often do you guys chase down tiny syntax mistakes that take forever to find?
1 comments

Log in to join the discussion

Log In
1 Comment
xenan64
xenan648d ago
Did you check for trailing commas too? Those got me just as bad in some older JS libraries.
4