---
title: "Discussion on \"OOP: Working with Classes in JavaScript\" | Hashnode"
description: "Discussion on \"OOP: Working with Classes in JavaScript\". In this post, we will look at what OOP is, and also I will share some secrets behind classes in JavaScript."
url: "https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4"
---

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

Discussion

# [OOP: Working with Classes in JavaScript](https://faheemkhan97.hashnode.dev/oop-working-with-classes-in-javascript?utm_source=hashnode&utm_medium=feed)

In this post, we will look at what OOP is, and also I will share some secrets behind classes in JavaScript.

Aug 10, 2021 · 9 min read · faheemkhan97.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#oop](https://hashnode.com/tag/oop)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#classes](https://hashnode.com/tag/classes)

## Written by

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

@FaheemKhancodes · Bihar, India

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

Web Developer, content creator.

Fullstack Web Developer . Interested in Machine Learnig.

## Responses 13

Markdown supported · ⌘↵ to post

[Timothy Olanrewaju](https://hashnode.com/@SmoothTech)

[Dec 13, 2023](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6579b339d67ba4974812ac3b)

Thank you for such a good, simple yet insightful article

[Dinesh Udhaya](https://hashnode.com/@udhaya246)

[Sep 4, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6132f9d636015b2f4e1294bd)

I've gone thru a plethora of tutorials...culdn't able to get pass JS adv. Concepts but this single affable article was really helpful fa a nascent dev lyk me.....thks a lot

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Sep 4, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6132f9d636015b2f4e1294bd#reply-613309a95b12102f2987dcbd)

Thank you. This means a lot to me.

[Eslam Ahmed](https://hashnode.com/@Eslam-Ahmed)

[Aug 29, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/612c085b2858872661b9c30d)

Great article, I have referd it at my last [article](https://eslam-7ot.hashnode.dev/typescript-basics-custom-types#class). hope to know your opinion

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Sep 4, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/612c085b2858872661b9c30d#reply-613309725b12102f2987dcb2)

Thank you!

[Pardon Masuka](https://hashnode.com/@pmasuka)

[Aug 15, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6118e09cac5c985f36434ff5)

Thank you Faheem. Great explanations and example code!

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 15, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6118e09cac5c985f36434ff5#reply-6118f61d888ca15f5d38ace9)

Thank you for this feedback.

[Neha](https://hashnode.com/@neha016)

[Aug 15, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6118a190888ca15f5d389e38)

Very well written [Faheem Khan](https://hashnode.com/@FaheemKhancodes)👏👏

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 15, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6118a190888ca15f5d389e38#reply-6118b4dfac5c985f36434772)

Thank you so much, Neha. These words act like an energy booster for me

[Mahima gupta](https://hashnode.com/@mahima6013)

[Aug 12, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6114deb5611d5c199a2fbb2b)

very interesting , good job and thanks for sharing such a great blog🔥........Amazing write-up!!!!!!!

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 15, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6114deb5611d5c199a2fbb2b#reply-6118b536ac5c985f3643477f)

Thank you very much, Mahima. Glad that you found it valuable.

[Soham De Roy](https://hashnode.com/@sohamderoy)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6114068b611d5c199a2facad)

Very detailed and helpful article. Thanks for sharing.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 12, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6114068b611d5c199a2facad#reply-61149acc611d5c199a2fb4f1)

My pleasure 🥰

[navdeep dhakar](https://hashnode.com/@navdeepdh)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113ea8f119030192497a1ff)

Great article faheem, summed up entire oops concept in realy handy way.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 12, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113ea8f119030192497a1ff#reply-61149abe119030192497ad2e)

Thank you so much, Navdeep. I'm super happy that you find it useful ☺️

[Benjamin Kalungi](https://hashnode.com/@bk973)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113d8f2611d5c199a2fa78c)

Great article. Developers need such handy info to enable them write performant Javascript. Thank you so much

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113d8f2611d5c199a2fa78c#reply-6113e038119030192497a134)

Thank you so much for your kind words. Not praising myself but to fully understand Oop I have learned that from 5 different languages and the one which help the most is Java.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113cc811190301924979d61)

Great detailed, Faheem. Helpful. Thank you.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 12, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6113cc811190301924979d61#reply-61149a8a119030192497ad2a)

You're reply is like testimonial of I'm doing well. Thank you for taking your valuable time to read this.

[Ahsan Noor.](https://hashnode.com/@ahsannoor)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/61139ce5756897544b106502)

Great article. Provides a thorough explanation about Object-Oriented Programming Paradigm.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 11, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/61139ce5756897544b106502#reply-6113b3765f85bc2b3d11fa50)

Glad you liked it. Thank you

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

[Aug 10, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6112d7f9c0623972de8a682e)

Really great article. Well Explained.

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 10, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6112d7f9c0623972de8a682e#reply-6113013c2485287288b71cd2)

Thank you for your kind words. Means a lot

[Megha Agarwal](https://hashnode.com/@meghaag0408)

[Aug 10, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6112d33d2485287288b71a72)

Great article! Detailed explanation!

[Faheem Khan](https://hashnode.com/@FaheemKhancodes)

[Aug 10, 2021](https://hashnode.com/posts/oop-working-with-classes-in-javascript/6112ad9e2485287288b715a4/comment/6112d33d2485287288b71a72#reply-611301212485287288b71cca)

Thank you 😊 Glad you find it valuable.
