Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there differences between ' and " [duplicate]

Possible Duplicate:
When to Use Double or Single Quotes in JavaScript
Difference between single quotes and double quotes in Javascript

I searched this website and google (in that exact order...) looking for:

Are there any differences between ' and " regarding to strings in Javascript\ JQuery?

Didn't find a thing...

like image 738
gdoron is supporting Monica Avatar asked Jan 23 '12 15:01

gdoron is supporting Monica


2 Answers

As long as you pair them properly there is no difference.

like image 179
Diodeus - James MacFarlane Avatar answered Sep 20 '22 02:09

Diodeus - James MacFarlane


No, there's no difference at all. It's a matter of personal preference.

like image 43
Darin Dimitrov Avatar answered Sep 23 '22 02:09

Darin Dimitrov