iiff in js code example
Example: IFFI in js
// This function will be invoked right away we don't have to call it
(function () {
console.log("This is an IIFE");
})();
// This function will be invoked right away we don't have to call it
(function () {
console.log("This is an IIFE");
})();