Last active
August 29, 2015 14:17
-
-
Save suisho/c53224a8c44212e5922b to your computer and use it in GitHub Desktop.
Babelで理解するEcmaScript6の import / export ref: http://qiita.com/suisho/items/41168a50904242005271
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
"use strict"; | |
function foo() {} | |
module.exports = { foo: foo }; |
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
function foo() { | |
} | |
export default { foo : foo } |
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
import { foo } from "foo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment