Skip to content

Instantly share code, notes, and snippets.

@suisho
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suisho/c53224a8c44212e5922b to your computer and use it in GitHub Desktop.
Save suisho/c53224a8c44212e5922b to your computer and use it in GitHub Desktop.
Babelで理解するEcmaScript6の import / export ref: http://qiita.com/suisho/items/41168a50904242005271
"use strict";
function foo() {}
module.exports = { foo: foo };
function foo() {
}
export default { foo : foo }
import { foo } from "foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment