Return to Snippet

Revision: 18091
at September 22, 2009 17:16 by arpit


Updated Code
(function(){
  alert('invoke moi')
})();

Revision: 18090
at September 22, 2009 17:15 by arpit


Initial Code
(function(){
				alert('invoke moi')
			})();

Initial URL

                                

Initial Description
Good for isolating code inside from global vars. Example, pass jquery references from the window scope

Initial Title
Invoke anonymous function in .js

Initial Tags

                                

Initial Language
JavaScript