Skip to content

Instantly share code, notes, and snippets.

@umaar
Last active November 20, 2020 15:52
// main.js
import {cat} from './animals.js'
cat();
// animals.js
function cat() {
console.log('meow');
}
function dog() {
console.log('woof');
}
export {cat, dog};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment