Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 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