---
title: "Discussion on \"Prototypes In JavaScript\" | Hashnode"
description: "Discussion on \"Prototypes In JavaScript\". What is Prototype ?\nPrototype in JavaScript is an object from which other objects can inherit the properties and methods.\nfor example\nconst myObject = {\n  city: \"Madrid\",\n  greet() {\n    console.log(`Greetings from ${this.city}`);\n  },\n};\n\nObject.get..."
url: "https://hashnode.com/posts/prototypes-in-javascript/68ea834825a40adb79061abd"
---

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

Discussion

# [Prototypes In JavaScript](https://neeltyper001.hashnode.dev/prototypes-in-javascript?utm_source=hashnode&utm_medium=feed)

What is Prototype ? Prototype in JavaScript is an object from which other objects can inherit the properties and methods. for example const myObject = { city: "Madrid", greet() { console.log(\`Greetings from ${this.city}\`); }, }; Object.get...

Oct 11, 2025 · 3 min read · neeltyper001.hashnode.dev  
Read the article

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

## Written by

[Neelesh Joshi](https://hashnode.com/@Neeltyper001)

@Neeltyper001 · Uttarakhand, India

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

Fresher

Hi, am a passionate programmer and front-end web developer I am interested in problem solving

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
