Using Semicolons? Never Use Them!
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...
icedmonk.hashnode.dev
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)