XAMCHECK interview question

difference between classical and prototype inheritance?

Interview Answer

Anonymous

21 Apr 2016

javascript is class free language, we create a function as a class and invoked by the constructor invocation pattern. Prototype inheritance is inherits directly from the parent object using prototype.