const f = { a : () => 'hello', b : () => 'world', c : () => f.a() + ' ' + f.b(), } const greeting = f.c() console.log(greeting) // hello world