difference between classical and prototype inheritance?
Anonimo
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.