3 ms·
Well, the average developer should use a lint tool with Javascript. A bunch of confusion points in Javascript (including this one) have been well understood fo
by jmull 7y ago
Well, the average developer should use a lint tool with Javascript.
A bunch of confusion points in Javascript (including this one) have been well understood for a long time, best practices have been developed to deal with them, and mature tooling exists to easily enforce them.
Put another way: If you are unsure, go download eslint along with the plugins for your environment, and find/create a ruleset that turns on almost everything.