Advanced Concepts Flashcards
1
Q
IIFE
A
Immediately Invoked Function Expresssions
Essentially invoking a function expression immediately in order to not pollute the global namespace/have some operation be done immediately.
When used with the module pattern, this is a great way to define a private and public scope through the IIFE’s closure.