self invoke function vs static declaration code example Example: self invoked function javascript (function(){ //Bunch of code... })();