What is IIFE?
IIFE stands for Immediately Invoked Function Expression. It is a JavaScript function that runs as soon as it is defined. The primary purpose of IIFE is to create a local scope for variables, protecting them from being accessed or modified outside the function.