This article needs a technical review. How you can help.
IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined.
Learn more
Learn about it
- Ben Alman's blog post defining IIFEs
- Quick example (at the end of the "Functions" section, right before "Custom objects")
General knowledge
- IIFE on Wikipedia