Skip to content

Instantly share code, notes, and snippets.

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment