self ivoked functions js in depth code example Example: self invoked function javascript (function(){ //Bunch of code... })();