Hacker News new | ask | show | jobs
by nahname 5032 days ago
'});' is absolutely a line of code. I would even consider ',' a line of code. Forgetting either one of those in a line of JS results in errors. Errors you have to spend mental effort looking out for. Don't discount the value of not having to match up all those ridiculous parentheses and curly braces. Oh and semicolons.

I have personally had more problems from not closing something than I ever had from assigning a variable.