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
If your JavaScript source is
elem.innerHTML="";
the HTML source will be:
Or for HTML5
JavaScript allows arrays like that:
var arr=['this','that'];
But if you stringify it, it will be for compatibility reasons:
JSON=["this","that"]
I'm sure this takes some time.