---
title: "Discussion on \"Object-Oriented Programming In JavaScript - 2\" | Hashnode"
description: "Discussion on \"Object-Oriented Programming In JavaScript - 2\". ES6 Classes\nClasses in JavaScript do not work as it works in languages like C++ and Java. Classes in JavaScript also implement prototypal inheritance as we did with the constructor function. It is just a \"Syntactic Sugar\" which makes more sense to pr..."
url: "https://hashnode.com/posts/object-oriented-programming-in-javascript-2/63dba26aeba0b6adb080d3ca"
---

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

Discussion

# [Object-Oriented Programming In JavaScript - 2](https://codechitra.hashnode.dev/object-oriented-programming-in-javascript-2?utm_source=hashnode&utm_medium=feed)

ES6 Classes Classes in JavaScript do not work as it works in languages like C++ and Java. Classes in JavaScript also implement prototypal inheritance as we did with the constructor function. It is just a "Syntactic Sugar" which makes more sense to pr...

Feb 2, 2023 · 4 min read · codechitra.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#oops](https://hashnode.com/tag/oops)
-   [#prototype](https://hashnode.com/tag/prototype)
-   [#prototypeal-inheritance](https://hashnode.com/tag/prototypeal-inheritance)
-   [#es6-classes](https://hashnode.com/tag/es6-classes)

## Written by

[Akash Deep Chitransh](https://hashnode.com/@codechitra)

@codechitra · Indore, India

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

UI Developer: Making Internet Look Cool

I am a front-end developer, currently working at TCS.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
