NetApp interview question

polymorphism in javascript