Last active
May 26, 2022 08:43
-
-
Save twinsdbv/f1c76580377171fcf514 to your computer and use it in GitHub Desktop.
Immediately Invoked Function
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 Module = (function () { | |
// Private Scope | |
var privateVar; | |
function firstMethod () { | |
} | |
function secondMethod () { | |
} | |
// Public | |
return { | |
firstMethod: firstMethod | |
} | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment