why to use iife in javascript code example Example: immediate invoke function js (function () { statements })();