---
title: "Comment by Saurabh Singh on \"Prototypes and Prototypal Inheritance in JavaScript: A Beginner's Guide\" | Hashnode"
description: "Imagine a family. The \"parent\" object has some common traits like \"eye color\" and \"hair color.\" The \"child\" object inherits these traits. If the child has a dif"
url: "https://hashnode.com/posts/prototypes-and-prototypal-inheritance-in-javascript-a-beginners-guide/64234fe6e8cea1f421485c85/comment/67b32719a1e90eb5ec38412e"
---

[Discussion](https://hashnode.com/posts/prototypes-and-prototypal-inheritance-in-javascript-a-beginners-guide/64234fe6e8cea1f421485c85)

Comment [Prototypes and Prototypal Inheritance in JavaScript: A Beginner's Guide](https://hashnode.com/posts/prototypes-and-prototypal-inheritance-in-javascript-a-beginners-guide/64234fe6e8cea1f421485c85)

[Saurabh Singh](https://hashnode.com/@100rab98)

[Feb 17, 2025](https://hashnode.com/posts/prototypes-and-prototypal-inheritance-in-javascript-a-beginners-guide/64234fe6e8cea1f421485c85/comment/67b32719a1e90eb5ec38412e)

Imagine a family. The "parent" object has some common traits like "eye color" and "hair color." The "child" object inherits these traits. If the child has a different eye color than the parent, that's their own property. But if the child doesn't have a specific hair color defined, it will inherit the hair color from the parent.
