r/javascript • • Mar 15 '14

StackOverflow - When to Use Double or Single Quotes in JavaScript

http://stackoverflow.com/questions/242813/when-to-use-double-or-single-quotes-in-javascript
0 Upvotes

4 comments sorted by

4

u/findar Mar 15 '14

Were you trying to discuss your thoughts on this or just posting a link to a 6 year old question?

0

u/[deleted] Mar 16 '14

[deleted]

1

u/findar Mar 16 '14

In our shop we use ", though it's arbitrary since we have to deal with localization, so most inner double quotes use curly quotes.

ex: http://typographyforlawyers.com/straight-and-curly-quotes.html

1

u/ellisgl Mar 16 '14

I don't think it matters. I use single quotes as much as possible in my JS.