Immediately Invoked Function Expressions (IIFE)

This lesson briefly goes over the concept of Immediately Invoked Function Expressions in JavaScript.

We'll cover the following

IIFE #

IIFE stands for Immediately Invoked Function Expressions. As the name implies, it is a way to execute the functions as soon as they are created.

Syntax #

This is the syntax to define an IIFE:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.