console.log("double");
vs console.log('single');
I see more and more JavaScript libraries out there using single quotes when handling strings. What are the reasons to use one over the other? I thought they're pretty much interchangeable.
转载于:https://stackoverflow.com/questions/242813/when-to-use-double-or-single-quotes-in-javascript