Immediately Invoked

IIFE (Immediately Invoked Function Expression)



Creating a named function will pollute the outside scope


function myfunc () { 
   //some code
} ) ();
myfunc();




© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext