Re:The infernal semicolon (2012)
by insin on Friday March 06, 2015 @06:03PM
(#9160167)
I haven't used semicolons in JavaScript in places they're not necessary for years now - the only rule that's mattered in practice [1] is lines starting with [ or (.
[1] This is a white lie - there is one additional vital ASI rule, but you already know it - don't put a linebreak after a return statement.
[1] This is a white lie - there is one additional vital ASI rule, but you already know it - don't put a linebreak after a return statement.