Use double quotes, not single quotes. © JSlint.com | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use double quotes, not single quotes. © JSlint.com

It's really better way? Or, for example, it's too bad to use semicolon after function? function(){ ----code };

30th Dec 2017, 3:03 PM
Bogdan Saliuk
Bogdan Saliuk - avatar
1 Answer
+ 2
don't need semi colon after function, and single or double quotes work the same. only time u may need one over the other is if you have nested quotes.
30th Dec 2017, 3:19 PM
Nope
Nope - avatar