IIFE: Immediately Invoked Function Expression

Опубликовано: 27 Октябрь 2020
на канале: procademy
822
25

IIFE stands for Immediately Invoked Function Expression. When we create a normal function, it does not get executed on its own. We have call the function by its name to execute it.

The IIFE is a function which is defined as a function expression and executed immediately after creation.

In this lecture you will learn What is IIFE and how to create it, its use and advantage.