Nov 28, 2021
Probably the best thing to do is to follow your project's coding style guide. If your project doesn't have one, and it should, then perhaps use Google's: https://google.github.io/styleguide/jsguide.html Regarding semicolons, it quite clearly states, "Every statement must be terminated with a semicolon. Relying on automatic semicolon insertion is forbidden."