Search posts, tags, users, and pages
samyek sonawane
Full-Stack Developer
This post isn’t intended to reopen the age-old JavaScript debate, but merely to serve as a reference when people ask why JavaScript Standard Style enforces a “never use semicolons” rule. The idea that you can “always use semicolons” and not worry a...
Peter Scheler
JS enthusiast
Some little addition: If you really never want to use semicolons you can also write
void [1, 2, 3].forEach(bar)
instead of
;[1, 2, 3].forEach(bar)
Peter Scheler
JS enthusiast
Some little addition: If you really never want to use semicolons you can also write
void [1, 2, 3].forEach(bar)instead of
;[1, 2, 3].forEach(bar)