Immediately Invoked Function in JavaScript
An Immediately Invoked Function also abbreviated as IIFE or IIFY runs as soon as it is defined. To run the function, it needs to be invoked otherwise the declaration of the function is returned.
Syntax
(function()
{
// Do something;
})
();
