Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'd say single quotes just in case a string you want pass in contains double quotes
-
Single quotes, reminds me I’m scripting and not native programming so I don’t accidentally type “int num;”
-
Lyniven44537yPrefer using getElementById..
But if i use jQuery(`#test`) evertime for jquery template string
Which method do you guys prefer?
$("#test") or $('#test')
undefined
jquery javascript