Created
December 1, 2017 23:54
-
-
Save ernestofreyreg/5bd29a65c2819715b4c061157f0e65e5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function someService () { | |
| const name = 'some'; | |
| function method() { | |
| // Do some shit like... | |
| console.log(name); | |
| } | |
| return { method }; | |
| } | |
| module.exports = someService(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment