Ryanair interview question

Prototype vs. Class in Javascript