/*Immediately Executing Function: You can execute a function immediately after you define it. Simply wrap the function in parentheses () and invoke it The reason for having an IEF is to create a new variable scope. Example: -------- */ (function test() { console.log('test was executed!'); })();