Simpragma interview question

Inheritance in javascript