---
title: "Discussion on \"The Prototype Chain - How Inheritance Works\" | Hashnode"
description: "Discussion on \"The Prototype Chain - How Inheritance Works\". JavaScript uses prototypal inheritance, which means objects can share properties and methods with other objects. This helps in writing reusable and efficient code. To understand this better, we’ll explain the prototype chain with a simple real-world ..."
url: "https://hashnode.com/posts/prototype-chain-in-javascript/67b2588cff046d63efcf7190"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Prototype Chain - How Inheritance Works](https://renilpatel.hashnode.dev/prototype-chain-in-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript uses prototypal inheritance, which means objects can share properties and methods with other objects. This helps in writing reusable and efficient code. To understand this better, we’ll explain the prototype chain with a simple real-world ...

Feb 16, 2025 · 2 min read · renilpatel.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Renil Garala](https://hashnode.com/@renilpatel)

@renilpatel · rajkot, gujarat, india

  
[View profile](https://hashnode.com/@renilpatel)

Developer, Building useful things for the web

A web developer, certified in Java. Pursuing a BCA in the third year and currently learning full-stack web development from Chaicode.

## Responses

Markdown supported · ⌘↵ to post

[Virat Srivastava](https://hashnode.com/@virat-sr)

[Feb 19, 2025](https://hashnode.com/posts/prototype-chain-in-javascript/67b2588cff046d63efcf7190/comment/67b60c634d94628dbe61c609)

array k prototypes Object k prototypes (Everything in js is object) null
