News for hackers. Stuff that matters.
Re:Javascript Constructors and Prototypes by webXL on Thursday August 01, 2013 @09:47AM (#6140245)
Please let us know of one equivalent using semicolons for this semicolon-less bug:

  a = b + c
  (d + e).print()
Which is evaluated as

  a = b + c(d + e).print();
Taken straight out of http://mislav.uniqpath.com/2010/05/semicolons/

> Standards are useful, so if there is one, stick to it. If there is no reason to go against the standard, then don't.

Bingo. I think this is another reason to stick with the standard.

There are no comments on this comment yet.