console.log("double"); vs. console.log(\'single\');
console.log("double");
console.log(\'single\');
I see more and more JavaScript libraries out there using single quotes when ha
I would use double quotes when single quotes cannot be used and vice versa:
"'" + singleQuotedValue + "'" '"' + doubleQuotedValue + '"'
Instead of:
'\'' + singleQuotedValue + '\'' "\"" + doubleQuotedValue + "\""