midJavaScript
What is prototypal inheritance?
Updated May 6, 2026
Short answer
Objects inherit properties via prototype chain.
Deep explanation
Each object has an internal prototype linking to another object.
Real-world example
Used in class inheritance internally.
Common mistakes
- Confusing with classical inheritance.
Follow-up questions
- What is prototype chain?
- Can we modify prototypes?