---
title: "Discussion on \"Composition in JavaScript\" | Hashnode"
description: "Discussion on \"Composition in JavaScript\". Alright, first things first. Before understanding composition in JavaScript, we need to understand some basic terms related to Object-oriented programming. We all know, we can achieve the functionality of OOP in any programming language by making cla..."
url: "https://hashnode.com/posts/composition-in-javascript/5f5d462c13599a5f2e33f866"
---

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

Discussion

# [Composition in JavaScript](https://sarthk1029.hashnode.dev/composition-in-javascript?utm_source=hashnode&utm_medium=feed)

Alright, first things first. Before understanding composition in JavaScript, we need to understand some basic terms related to Object-oriented programming. We all know, we can achieve the functionality of OOP in any programming language by making cla...

Sep 12, 2020 · 5 min read · sarthk1029.hashnode.dev  
Read the article

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

## Written by

[Sarthak Duggal](https://hashnode.com/@sarthk1012)

@sarthk1012 · Bengaluru, Karnataka

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

Software Engineer

Full Stack Developer crafting high-impact products with keen attention to detail.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
