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?
[ Parent
| on HN ]
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?)
Everything you need to know:
http://blog.izs.me/post/2353458699/an-open-letter-to-javascr...