Last active
November 20, 2020 15:52
-
-
Save umaar/ff676b8bc83e6a543d80bb88da1bcd26 to your computer and use it in GitHub Desktop.
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
// 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