---
title: "Discussion on \"Accessing parent prototype functions from Child\" | Hashnode"
description: "Discussion on \"Accessing parent prototype functions from Child\". Consider the following code:\nfunction Parent() {}\n\nParent.prototype.display = function() {\n  console.log('Parent');\n}\n\nfunction Child() {}\n\nChild.prototype = Object.create(Parent.prototype);\nChild.prototype.constructor = Child;\n\nChild.prototype.displ..."
url: "https://hashnode.com/posts/accessing-parent-prototype-functions-from-child-b07d35976507/6125c5e2663d427e19ffb79a"
---

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

Discussion

# [Accessing parent prototype functions from Child](https://blog.adarshkonchady.com/accessing-parent-prototype-functions-from-child-b07d35976507?utm_source=hashnode&utm_medium=feed)

Consider the following code: function Parent() {} Parent.prototype.display = function() { console.log('Parent'); } function Child() {} Child.prototype = Object.create(Parent.prototype); Child.prototype.constructor = Child; Child.prototype.displ...

Jan 12, 2016 · 1 min read · blog.adarshkonchady.com  
Read the article

## Written by

[Adarsh Konchady](https://hashnode.com/@adarshkonchady)

@adarshkonchady · Minnesota, US

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

Interested in all things Web !

As a Senior Principal Engineer at CVSHealth, I specialize in building and optimizing cvs.com to deliver a superior guest experience. Using the latest web technologies, my team and I work diligently to create a user-friendly and intuitive platform that exceeds expectations.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
