Domanda di colloquio di Airsorted

Can you have a function inside an Object?