+ 1
What is the difference between single and double quotes
4 odpowiedzi
+ 1
check this post.
https://www.sololearn.com/discuss/1368213/?ref=app
+ 1
No big difference but if a string contains a single/double quote you should use double/single quote around it.
0
Nothing. Just make sure to use the same one to open and close the string.
"Hi' : Bad
"Hi":Good
'Hi':Good