Not very strong in JavaScript so I would like to ask this. More than once I came across this function declaration in JS:
(function($) { //... })(jQuery);
Why do I need to wrap the declaration of a function in parentheses and what does (jQuery) mean after this function in brackets?