I am looking at some javascript code and it has this in a function:
$$(\'.CssClass\').each(function(x) { .... } )
I get that the intent is
Probably this prototype function:
$$(cssRule...) -> [HTMLElement...]
Takes an arbitrary number of CSS selectors (strings) and returns a document-order array of extended DOM elements that match any of them.
http://www.prototypejs.org/api/utility#method-$$