r/javascript • • Apr 01 '18

Google publishes a JavaScript style guide. Here are some key lessons.

https://medium.freecodecamp.org/google-publishes-a-javascript-style-guide-here-are-some-key-lessons-1810b8ad050b
714 Upvotes

317 comments sorted by

View all comments

293

u/kevinkace Apr 01 '18

Semicolons ARE required

👍

5

u/[deleted] Apr 01 '18

Surely using a transpiler like Babel eliminates the need to worry about this?

8

u/gearvOsh Apr 01 '18

ASI is not future proof for new proposals and features. That's why it should be avoided.

→ More replies (3)