+ 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
2 Answers
+ 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