While using gjslint, I got a hint: \"Single-quoted string preferred over double-quoted string\".
So why? I\'m a little confused with this. Why single-quoted preferred?>
If you use single quotes, you do not have to escape the double quotes in your html.
For example...
With single quotes you can do this
var a = 'a link/a>';
with double quotes you would need to escape those inside double quotes, like so
var a = "a link/a>";
Much more work, more difficult to maintain, and easier to commit errors.