MathWorks interview question

Inheritance in OOPS, JavaScript basics.