Created
May 3, 2017 17:14
-
-
Save thephilip/5b646b953d9a8fba962a7ffabe97fb30 to your computer and use it in GitHub Desktop.
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
// Module Skeleton | |
const MyModule = (function myModule(export) { | |
let _privateVar = 'oogieboogie' | |
export.myMethod = (i) => { | |
console.log(i); | |
} | |
export.myOtherMethod = (j) => { | |
console.log(j); | |
} | |
}(MyModule || {})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment