Possible Duplicate:
Why would a javascript variable start with a dollar sign?
Can someone explain the dollar sign in Javascript?
I was looking at a js tutorial where several of the functions where declared with a $ in front of them. I have done some on-line searching but can find no reference to this. Here is an example I created myself:
var $x = function(q)
{
return q*q;
}
var $y = function()
{
alert($x(10));
}
When I call $y from a webpage I get an alert with 100, which is what I expect. So, what, if anything, is the $ for?