DEV Community

Discussion on: JavaScript Tips and Best Practices

Collapse
 
apoorvtyagi profile image
Apoorv Tyagi

Agree. It is just that to be on safer side I'd want to use semicolon.

As I have mentioned in the links given, it can have un-intended consequences sometimes and I think that might be the reason why some companies prefer them in their coding standards.

But yeah linter are a good way to catch these issues