© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Matteo Rossi
Engineering Manager @ Stuart
$ has some special meaning in jQuery, not in vanilla JS
If you prepend $ to variable name it means that the specific variable will contain a jQuery Object.
Joe Clark
Full-stack developer specializing in healthcare IT
^ Yes, this is how I use the $. Though, just yesterday, I saw a JS variable with the $ at the end (e.g. varName$) Hadn't seen that before. Didn't look into it all that much, but it briefly caught my attention.
Nirmalya Ghosh
Developer
It is used in RxJS (eg: const click$ = Observable.fromEvent(button, 'click');)
const click$ = Observable.fromEvent(button, 'click');