4 ms·
summary / teal-deer: Provocative author says: you never need semicolons in JS, so don't feel you have to use them. Free your mind from the cargo cult. Provocat
by hnmcs 12y ago
summary / teal-deer:
Provocative author says: you never need semicolons in JS, so don't feel you have to use them. Free your mind from the cargo cult. Provocative author admits that you do need them to get something like this to parse correctly:
a = b + c
(d + e).print()
And then recommends using semicolons in this way:
a = b + c
;(d + e).print()
</summary>
Frankly, I'm not persuaded.