News for hackers. Stuff that matters.
Re:Ask HN: Why use semicolons to terminate statements in mod... by timknauf on Monday November 24, 2008 @08:16AM (#374758)
Making them optional in javascript was a ridiculous idea.

But since they are optional now, using them throughout our code won't help us for the example above: it would still wrongly return undefined because of the implied statement end. So it could be argued that semicolons provide a false sense of security in this new, semicolon-optional world. :^)

There are no comments on this comment yet.