console.log("double");
vs. console.log(\'single\');
I see more and more JavaScript libraries out there using single quotes when ha
Technically there's no difference. It's only matter of style and convention.
Douglas Crockford recommends using single quotes for internal strings and double quotes for external (by external we mean those to be displayed to user of application, like messages or alerts).
I personally follow that.
UPDATE: It appears that Mr. Crockford changed his mind and now recommends using double quotes throughout :)