Pergunta de entrevista da empresa XAMCHECK

difference between classical and prototype inheritance?

Resposta da entrevista

Sigiloso

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