---
title: "Discussion on \"How __proto__, prototype, and Inheritance Actually Work in JavaScript\" | Hashnode"
description: "Discussion on \"How __proto__, prototype, and Inheritance Actually Work in JavaScript\". Have you ever wondered why everything in JavaScript acts like an object? Or how inheritance actually works behind the scenes? What's the difference between __proto__ and prototype?\nIf these questions have crossed your mind, you're not alone. These ar..."
url: "https://hashnode.com/posts/how-proto-prototype-and-inheritance-actually-work-in-javascript/690a2d839d070c31fadbc25e"
---

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

Discussion

# [How \_\_proto\_\_, prototype, and Inheritance Actually Work in JavaScript](https://freecodecamp.org/news/how-proto-prototype-and-inheritance-actually-work-in-javascript?utm_source=hashnode&utm_medium=feed)

Have you ever wondered why everything in JavaScript acts like an object? Or how inheritance actually works behind the scenes? What's the difference between \_\_proto\_\_ and prototype? If these questions have crossed your mind, you're not alone. These ar...

Nov 4, 2025 · 8 min read · freecodecamp.org  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#inheritence](https://hashnode.com/tag/inheritence)
-   [#prototypeal-inheritance](https://hashnode.com/tag/prototypeal-inheritance)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)

## Written by

[Shejan Mahamud](https://hashnode.com/@Shejan-Mahamud)

@Shejan-Mahamud · Rajshahi, Bangladesh

  
[View profile](https://hashnode.com/@Shejan-Mahamud)

Full Stack Engineer

I love figuring out how things work under the hood and why they work the way they do. I'm always curious about the words "how" and "why." I enjoy solving problems in smart ways and learning from every little challenge — whether at work, at home, or even over coffee.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
