• support@answerspoint.co.in

When to Use Double or Single Quotes in JavaScript

2097
Advertisement

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.

0Answer


Your Answer

    Facebook Share        
       
  • publish 11 years ago
  • viewed 2097 times
  • active 11 years ago

Best Rated Questions