Tuesday, 10 September 2013

The need for JS functions which are self executing?

The need for JS functions which are self executing?

What is the use of functions which self execute?
(function(w,d) {...})(window, document);
And why do they pass window/document which are global functions?

No comments:

Post a Comment