Created
May 29, 2017 21:56
-
-
Save casprwang/4effb4ffb6e075eca40d8d6c9e015d01 to your computer and use it in GitHub Desktop.
module.exports
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
// module.exports | |
// index.js | |
module.exports = () => { console.log('ANONYMOUS') } | |
// hello.js | |
import log from './hello.js' | |
log() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment