News for hackers. Stuff that matters.
Re:Node.js Guide by city41 on Wednesday March 30, 2011 @05:04PM (#2389232)
Does the preceding comma style not get in the way of JavaScript's auto semi-colon insertion?
Re:Node.js Guide by damncabbage on Wednesday March 30, 2011 @05:20PM (#2389303)
It appears it doesn't, but I'd like to know WHY it doesn't.

Do Javascript parsers look at the next line before judging whether or not to treat the line-ending as an implicit semicolon?

(Do all parsers treat it in the same way? Is it part of the spec?)

Re:Node.js Guide by DTrejo on Wednesday March 30, 2011 @05:32PM (#2389341)
Re:Node.js Guide by kragen on Wednesday March 30, 2011 @07:36PM (#2389723)
Yes. Yes. Yes.