DEV Community

Discussion on: " vs ' in JavaScript. Which one do you prefer?

Collapse
 
alvaromontoro profile image
Alvaro Montoro • Edited

I guess I'm old school: " for strings and ' for single chars.

...although it doesn't really matter because in the end, we have prettier and it unifies all of them into single quotes.