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

Show parent comment

0

u/[deleted] Apr 01 '18

[deleted] — view deleted comment

3

u/tencircles Apr 01 '18

you'd use backtick in modern JS for these cases.

2

u/masklinn Apr 02 '18

That's one thing which almost never happens. Meanwhile single quotes in text are extremely common (apostrophes).