Pregunta de entrevista de XAMCHECK

difference between classical and prototype inheritance?

Respuesta de la entrevista

Anónimo

21 abr 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.