Domanda di colloquio di XAMCHECK

difference between classical and prototype inheritance?

Risposta di colloquio

Anonimo

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.