2 ms·
With so many exceptions and corner cases, doesn't it goes exactly against the aim of a code standard, that is to make the code rigorous and less prone to errors
by SZJX 10y ago
With so many exceptions and corner cases, doesn't it goes exactly against the aim of a code standard, that is to make the code rigorous and less prone to errors? The prevention of weird behaviors and corner cases is exactly the reason why almost all Javascript styleguides recommend semicolons.