$ symbol in Js. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

$ symbol in Js.

Whats the $ sign used for in Js.. is is some sort of special sign?

23rd Jul 2018, 2:44 PM
Mensch
Mensch - avatar
2 Respuestas
+ 5
It's used when you are using jquery in your code. #check the sololearn lesson for more info. https://www.sololearn.com/Course/jQuery/ #jquery selectors lesson link https://www.sololearn.com/learn/jQuery/2790/
23rd Jul 2018, 3:05 PM
Lord Krishna
Lord Krishna - avatar
+ 2
$ is also used in ecma2016 for making a string from variable's names. useful in templates.
23rd Jul 2018, 9:00 PM
wenz
wenz - avatar