Understanding JavaScript's Prototypal Inheritance

added by JavaScript Kicks
9/18/2018 8:45:17 AM

625 Views

Inheritance is the process by which one object can be based on another. This lets the objects to share each other's properties. I have created the Hero prototype and used it to create a new object named superman. But we are not doing anything with this object.


0 comments