Created
May 16, 2019 16:58
-
-
Save jessycormier/36f3c1918133eaba2f0741e9df23a2f4 to your computer and use it in GitHub Desktop.
Revealing Module Pattern
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
Thing = (function (window) { | |
function privateThing() { } | |
return { | |
exposedThing: privateThing, | |
} | |
})(window); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment