JS exporte plusieurs fonctions

function foo() { console.log('foo') }
function bar() { console.log('bar') }
function baz() { foo(); bar() }

export default {foo, bar, baz}
Puzzled Puffin