14
I was reading the jQuery source and I was wondering why the entire source file was wrapped in an anonomous function.
(function(){
...
})();
Is this something which helps not to pollute the global namespace? Why is it there and how does it work?