Javascript Understanding IIFE - Immediately Invoked Function Expression IIFE is an advanced design pattern used in Javascript. Because of the quirky syntax and how functions work in javascript, its a little difficult to understand concept.