Javascript – see a dollar sign before some constructors in JavaScript

javascript

In JQuery and other libraries I keep seeing a dollar sign $ before constructors.

What is the significance of that symbol?

Best Solution

One website told me this:

Rather than having to type out jQuery each time, we use an alias, a simple dollar sign (the shortest legal identifier that’s not alphanumeric).