Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js export multiple functions

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

export default {foo, bar, baz}
 
PREVIOUS NEXT
Tagged: #js #export #multiple #functions
ADD COMMENT
Topic
Name
5+4 =