Skip to main content
0:02est. 2 min

Chapter 53- Conceptual Aside (Classical vs Prototypal Inheritance)

Notes

Dealing with creation of objects
#BIGWORD - Inheritance - One object gets access to the properties and methods of another object
Classical Inheritance -
- Verbose (Very large)
- Keywords like friend, protected, private, interface etc
Prototypal Inheritance -
- Simple
- Flexible
- Extensible
- Easy to understand