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
10
u/deliciousleopard Apr 01 '18
using single for code and double for html is the norm, which allows putting html in js strings and js in html attributes without making stuff weird.