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
0
u/Wooshception Apr 01 '18
Single quote is arguably faster to type since it’s a key that doesn’t require modification. The difference in speed may be tiny but adds up quickly for something typed potentially hundreds of times a day.
Embedded quotes are relatively rare and from my experience occur only slightly more frequently than embedded double quotes.