https://jsfiddle.net/sathishkrcs/1w95...
Inheriting "methods"
JavaScript does not have "methods" in the form that class-based languages define them. In JavaScript, any function can be added to an object in the form of a property. An inherited function acts just as any other property, including property shadowing as shown above (in this case, a form of method overriding).
When an inherited function is executed, the value of this points to the inheriting object, not to the prototype object where the function is an own property.
Auf dieser Seite können Sie das Online-Video Inheriting Methods | Javascript | Astute JS mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Astute JS 13 September 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 35 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!