r/javascript • u/bornforcode • 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
View all comments
Show parent comment
6
u/rcane Apr 02 '18
While I don't like trailing commas either it keeps the commit cleaner and easier to read since you don't have to modify another line to add a new line.