Immediately Invoked Function Expressions (IIFE) | kirupa.com

by kirupa | 6 February 2015

By now, you probably know enough about functions in JavaScript to be dangerously productive. Functions allow you to group statements together. If you give your function a name, you can re-use those grouped statements a whole bunch of times:


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5//immediately_invoked_function_expressions_iife.htm