// Mapping export default { 1: () => test1(), 2: () => test2(), 3: () => {test1(); test2()} } // Functions const test1 = () => { console.log('test 1 test 1') } const test2 = () => { console.log('test 2 test 2') }