import foo, { bar } from './foo'; var answer = foo(); var somethingElse = bar(); console.log( answer );