---
title: "#javascript-proto articles | Hashnode"
description: "Explore 1 articles tagged #javascript-proto on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/javascript-proto"
---

Tag

# #javascript-proto

1 posts · 0 followers

[Carolin James](https://hashnode.com/@BreakTheCode) · [May 30, 2024](https://hashnode.com/posts/how-does-prototype-delegation-inheritance-work/66587a5ebdf5731ca0039215)

### [How does prototype delegation / inheritance work ?](https://breakthecode.hashnode.dev/how-does-prototype-delegation-inheritance-work?utm_source=hashnode&utm_medium=feed)

Let us look at the following code snippet: //constructor function const Employee = function (empId, empName) { //instance properties this.empId = empId; this.empName = empName; }; This is a basic constructor , now what if I want to add a method ...

2 min read · [breakthecode.hashnode.dev](https://breakthecode.hashnode.dev/how-does-prototype-delegation-inheritance-work?utm_source=hashnode&utm_medium=feed)
