What kind of a design pattern is this and what is the significance of using this closure?
(function(){
// my code here
}).call(this);
Edit
Then what is the difference between the above code and the following as the this
keyword will still refer to the same object in both the ways.
(function(){
// my code here
})();