Possible Duplicate:
jQuery question: what does it really mean?
For example,
(function (exports, $, undefined) {
// Code goes here
}(window.Chat = {}, jQuery));
What is the point of passing in "undefined" especially when there isn't a third parameter? I've seen this syntax in multiple places.