<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a" -->

---
title: A Beginner’s Guide To Object Oriented JavaScript | daily.dev
description: In this article, we’ll discuss the object oriented aspects of JavaScript language. We can define or create a JavaScript object with an object literal by...
canonical: https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Beginner’s Guide To Object Oriented JavaScript | daily.dev
og:description: In this article, we’ll discuss the object oriented aspects of JavaScript language. We can define or create a JavaScript object with an object literal by...
og:url: https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a
og:image: https://api.daily.dev/og/posts/qemykG99a.png
og:image:alt: A Beginner’s Guide To Object Oriented JavaScript
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# A Beginner’s Guide To Object Oriented JavaScript

**[JavaScript in Plain English](https://daily.dev/sources/jsPlainEnglish)** · 8 min read · 19 upvotes · 1 comments

## Summary

In this article, we’ll discuss the object oriented aspects of JavaScript language. We can define or create a JavaScript object with an object literal by encapsulating all the methods and properties within the curly braces. In the previous section, we have created an object john which was a human. Now, what if we want to create 50 other humans with same properties and methods as john but with different names. To solve this problem, ECMAScript 2015, also known as ES6, introduced JavaScript Classes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/javascript-in-plain-english/object-oriented-javascript-3f74e02a436f>

## Community discussion

Top comments from developers on daily.dev.

**@iaros** · 0 upvotes

> Very informative, thank you!

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"A Beginner’s Guide To Object Oriented JavaScript","url":"https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a"},"datePublished":"2020-12-20T09:55:14.185Z","dateModified":"2021-10-07T14:17:10.317Z","description":"In this article, we’ll discuss the object oriented aspects of JavaScript language. We can define or create a JavaScript object with an object literal by...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c89d5a08aebba33ca1e5c24af82474f0","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c89d5a08aebba33ca1e5c24af82474f0","isAccessibleForFree":true,"articleSection":"JavaScript in Plain English","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"JavaScript in Plain English","logo":"https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe","url":"https://daily.dev/sources/jsPlainEnglish"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":19},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"general-programming,javascript","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JavaScript in Plain English","item":"https://daily.dev/sources/jsPlainEnglish"},{"@type":"ListItem","position":3,"name":"A Beginner’s Guide To Object Oriented JavaScript"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/a-beginner-s-guide-to-object-oriented-javascript-qemykg99a","comment":[{"@type":"Comment","text":"Very informative, thank you!","datePublished":"2020-12-20T22:20:12.419Z","url":"https://daily.dev/posts/qemykG99a#c-Y-PYpVNam","author":{"@type":"Person","name":"Iaroslav","url":"https://daily.dev/iaros","image":"https://lh3.googleusercontent.com/a-/AAuE7mBael5pTvP9IS0CBBf2sjYhBO_xQ3RW6YpVrPNR6w=s100"}}]}
```

