+ 2
What is $ indicates in JS
$
5 Answers
+ 4
Hi there đ
The $ is an identifier in JavaScript
For more results
https://www.thoughtco.com/and-in-javascript-2037515
+ 4
In which code do you see $?
+ 3
It is used in jquery mainly... I have never used this symbol when I only need js... It mainly shortens the function
In case if you need this
https://stackoverflow.com/questions/3360858/why-use-dollar-sign-in-the-name-of-javascript-variables
+ 2
Rishabh Giri
In Javascript, $ is just another character to use when naming variables or functions, like _ or q . â
+ 1
For string interpolation, where the content of an identifier will be expanded to replace the identifier's name.
const org = "SoloLearn Community";
const year = 2020;
alert(`Š ${year} ${org}`);