4 ms·
Because errors dude to missing semicolon will happen so rarely, people skip them for various reasons, but the fix for these errors are to use semicolon, or a to
by z3t4 5y ago
Because errors dude to missing semicolon will happen so rarely, people skip them for various reasons, but the fix for these errors are to use semicolon, or a tool that will tell you where a semicolon would change the "abstract syntax tree" (AST). Because the JS ecosystem is so diverse, there are many "best practices". And the languages itself has many, many ways to do the same thing, espcially with ES6/2015 onward you have many more options, which are mostly picked by personal preferences and synthetic reasons.