Well, this is just a developer naming convention. " $$ " can also be " aa ", for all purposes and tasks.
As you already mentioned, one signed $() dollar sign function has become almost standard in various JavaScript libraries. "One function to rule them all," huh? But remember that this is not inherent in JS itself. This is simply the name of the function that replaced document.getElementById() .
So, with that said, $$ can be anything. Damn, you might have a function like this:
function $$$$$$$$(){ //i've got dollar signs in my eyes! }
In other words, it's just the name of a variable / function - like everyone else.
brianreavis Sep 23 '09 at 4:09 2009-09-23 04:09
source share