Last active
May 13, 2017 20:51
-
-
Save kdidenko/04a05289b05e6ae6bf033b417a021d70 to your computer and use it in GitHub Desktop.
IIFE (Immediately Invoked Function Expression) Structure Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var iife = (function() { | |
// IIFE implementation code here | |
// ... | |
// return result | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIFE - ["Immediately Invoked Function Expression"] is a JavaScript function that runs as soon as it is defined.