Starting block of jquery source code is something like :
(function( window, undefined ) {
})(window);
After spending an hour on net, I found an awesome article which beautifully explains the above block of code which is self-invoking anonymous functions.
Link to article
No comments:
Post a Comment