News for hackers. Stuff that matters.
Re:Airbnb JavaScript Style Guide by mc808 on Friday July 03, 2015 @03:26AM (#9824048)
I use double quotes for most strings and single quotes for characters, just because it's perfectly valid without having to learn new habits.

If I have HTML in a JavaScript string, I don't quote the attributes at all unless necessary, instead focusing on more pressing matters like how to get that shit out of my JavaScript.

There are no comments on this comment yet.