Created
January 22, 2016 16:19
-
-
Save kristajg/e1629d468776469789a2 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
// file1: myFunctions.js | |
export default { | |
coolFunction: function() { | |
return true; | |
}, | |
anotherFunction: function() { | |
return false; | |
} | |
} | |
// file2: index.js | |
import {coolFunction, anotherFunction} from './myFunctions'; | |
coolFunction(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment