Monday 11 June 2018

javascript - Are there differences between ' and "





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...


Answer



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


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...