var module = {}; (function(exports){ exports.notGlobalFunction = function() { console.log(\'I am not global\'); }; }(module)); function notGlobalFunct
The IIFE is adding a method to the module object that is being passed in as a parameter. The code is demonstrating that functions create scope. Methods with the same name are being added to a object and the the head object (window) of the browser.
module