IIFE

Explain why the following doesn't work as an IIFE: function foo(){ }();. What needs to be changed to properly make it an IIFE?
Interview Code Editor
Click here to jump start your coding interview preparation