Created
December 2, 2017 14:52
-
-
Save kamleshchandnani/c2192f79b8209510037a6b6452b147f4 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
// File log.js | |
const log = () => { | |
console.log('Example of ES module system'); | |
} | |
export default log | |
// File index.js | |
import log from "./log" | |
log(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment