3 ms·
I once removed all semicolons from a JS codebase when they became optional and encountered situations where this lead to errors as the same code was parsed diff
by alpaca128 5y ago
I once removed all semicolons from a JS codebase when they became optional and encountered situations where this lead to errors as the same code was parsed differently afterwards.
So yeah, long story short I'm also a proponent of semicolons. They help avoid ambiguity for both humans and machines, and make splitting lines less awkward.