O
2

DAE code for hours before realizing they had a semicolon in the wrong spot?

Spent 3 hours last night debugging a JavaScript loop on a freeCodeCamp project, only to find a stray semicolon after the function declaration. How do you catch little stuff like that before it eats your whole evening?
2 comments

Log in to join the discussion

Log In
2 Comments
harperschmidt
A buddy of mine once spent an evening hunting a missing comma in a React component.
3
wright.jesse
Three hours, actually. @harperschmidt, I've done that exact same thing with a missing semicolon. It's the worst.
1