Amadeus interview question

Prototypical inheritance.