---
title: "Discussion on \"How Inheritance is achieved using Prototype in Javascript?\" | Hashnode"
description: "Discussion on \"How Inheritance is achieved using Prototype in Javascript?\". prototype and constructor\n\nEvery function has a prototype field which is an object and has a field called constructor which points to the main function. And, since main function again is an object and has prototype and again has constructor so it cre..."
url: "https://hashnode.com/posts/how-inheritance-is-achieved-using-prototype-in-javascript/6259f5a62f84e0d4fc33c389"
---

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

Discussion

# [How Inheritance is achieved using Prototype in Javascript?](https://subm.hashnode.dev/how-inheritance-is-achieved-using-prototype-in-javascript?utm_source=hashnode&utm_medium=feed)

prototype and constructor Every function has a prototype field which is an object and has a field called constructor which points to the main function. And, since main function again is an object and has prototype and again has constructor so it cre...

Apr 15, 2022 · 4 min read · subm.hashnode.dev  
Updated Apr 19, 2022  
Read the article

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

## Written by

[Shubham Shekhar](https://hashnode.com/@shubhamshekhar1)

@shubhamshekhar1 · India

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

Full Stack Javscript Developer with a focus on Front-end (React.js, Angular, Vue.js)

I'm a Full stack JavaScript developer, with a focus on Front End and having 5+ years of professional experience in developing complex web applications. My technical skills comprises JavaScript | TypeScript | Angular | React.js | Vue.js | HTML | CSS | Redux | jQuery | Node.js | Express | MongoDB | PostgreSQL | CI/CD | Server Side Rendering | JSON | REST | Sass | Git | Azure | AWS | Bootstrap | Unit Test | Microservices | Jasmine | Karma | Clean Code | Code Reviews | Gitlab | Bitbucket | Jira | Confluence | Jenkins | Agile/Scrum

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
