News

This is useful/needed when all you javascript code is in one main file ... script or whatever else may be in teh global scope. Our code inside the self-invoking anonymous function shouldn't interfere ...
// the output will be referenceError because create a function then will be declare a global variable then will access the out of function so that is not accesible so ...
Array variable result[] will be populated with self invoked functions and will be return to it's calling function showList() Self invoking function will be executed just once only. Now the returned ...