• support@answerspoint.com

When to Use Double or Single Quotes in JavaScript


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.


Your Answer

    Facebook Share        
  • asked 6 years ago
  • viewed 1142 times
  • active 6 years ago

Hot Questions