Why would a JavaScript variable start with a dollar sign? [duplicate]
This question already has answers here: What is the purpose of the dollar sign in JavaScript? (11 answers) Closed 1 year ago. I quite often see JavaScript with variables that start with a dollar sign. When/why would you choose to prefix a variable in this way? (I’m not asking about $(‘p.foo’) syntax that you see … Read more