IIFE-Template IIFE Template-Boilerplate # An Immediately Invoked Function Expression (or IIFE) is used when you want your code to run immediately, but want to keep all of your variables and functions out of the global scope to avoiding conflicts.