News for hackers. Stuff that matters.
Re:Why I sometimes hate JavaScript by d4n3 on Friday February 27, 2015 @08:59AM (#9118824)
Javascript has "semicolon insertion".

It tries to parse a newline with no semicolon as continuing the current expression, if it can't, it inserts a semicolon.

It's a 'feature' that's caused too many bugs and is a warning in most linters.

There are no comments on this comment yet.