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.

0

u/Mingli91 Apr 01 '18

Got a source for that? If TC39 are scared to break an outdated library that nobody uses anymore then I’d be surprised if they change something so fundamental about the language.

→ More replies (2)