---
title: "Discussion on \"JS Inheritance Simplified with Constructor Functions\" | Hashnode"
description: "Discussion on \"JS Inheritance Simplified with Constructor Functions\". Lets create an Employee constructor function with the following instance properties.\nconst Employees = function (empName, empId, dept, doj) {\n  this.empId = empId;\n  this.empName = empName;\n  this.dept = dept;\n  this.doj = doj;\n};\n\nLets create a meth..."
url: "https://hashnode.com/posts/js-inheritance-simplified-with-constructor-functions/665cb9ba2195668db865615a"
---

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

Discussion

# [JS Inheritance Simplified with Constructor Functions](https://breakthecode.hashnode.dev/js-inheritance-simplified-with-constructor-functions?utm_source=hashnode&utm_medium=feed)

Lets create an Employee constructor function with the following instance properties. const Employees = function (empName, empId, dept, doj) { this.empId = empId; this.empName = empName; this.dept = dept; this.doj = doj; }; Lets create a meth...

Jun 2, 2024 · 2 min read · breakthecode.hashnode.dev  
Read the article

-   [#inheritance-in-js](https://hashnode.com/tag/inheritance-in-js)
-   [#js](https://hashnode.com/tag/js)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js-oops](https://hashnode.com/tag/js-oops)

## Written by

[Carolin James](https://hashnode.com/@BreakTheCode)

@BreakTheCode

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
