Immediately Invoked

IIFE (Immediately Invoked Function Expression)



Creating a named function will pollute the outside scope


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




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