What does the following function definition mean in JavaScript:
var Candy = (function(self, $) {
return self;
} (Candy || {}, jQuery));
I am still learning JavaScript. And am trying to read and understand one of the applications I downloaded online. I can't figure out what the meaning of the above function definition is. This is only the trimmed version of the module.