Skip to content
JsDevLife
Menu
  • Home
  • Leetcode in JS
  • About me
  • Contact Us
Menu

Object Oriented Programming in Javascript Tutorial

Posted on September 17, 2018 by Vikas Kad

Object Oriented Javascript Tutorial

Hello, All as the title suggest we are going to understand what is object-oriented in JS. 
for those we don’t have knowledge about Object Oriented Programming language, let’s understand the terminology out OOP Language.
OOP language is totally based on objects where the objects contain data, methods, and its attributes.
let’s take a realtime example as follows:
Object Oriented Javascript
I have fruits which are as follows as Banana, Orange, Lemon, Apple, Mango etc, so if I want to find a number of fruits I have then I can use length function to find out.
The same way in  Javascript fruits array is an object which has some properties and methods like 
length is a property of array and sort is the method of an object.


Nowadays, the Object-oriented Programming language is the more popular style for the programming language, and Javascript has taken the OOP concept from the scratch only.
If we go deep in Javascript’s functions we will get the idea that Javascript already using the Object-oriented style, and everything in Javascript is an object.
But there is also one point we need to understand not all things are an object in Javascript.
There are some other things are there as well which we call as primitive types. 
Like string, boolean, null etc are primitive types.
let’s check null,
null don’t have any method or property so we cant expand it, so this way there are some other primitive types are there in JS.

Conclusion:

So in shorts, everything in javascript is an object, and we use OOP concepts in our coding using some OOP terminologies which we will discuss later on this series.
So click here to understand what is mean by Objects in Javascript.

9 thoughts on “Object Oriented Programming in Javascript Tutorial”

  1. Unknown says:
    October 9, 2018 at 6:27 am

    I like the way you explained it. Object oriented programming in JavaScript is very different from object-oriented programming in other languages and it confuses me. Fortunately, degree holding programming experts from Assignment Expert assist me with up-to-date knowledge and clear explanation of terms and language.I know I can rely on them anytime regardless of the deadline needed. It’s very convenient! Highly recommend!

    Reply
  2. Yogesh says:
    November 21, 2018 at 10:29 am

    This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got good knowledge.
    WordPress development company in Chennai

    Reply
  3. JSDevLife says:
    November 21, 2018 at 10:33 am

    Welcome Richard, Keep Reading

    Reply
  4. JSDevLife says:
    November 21, 2018 at 10:35 am

    Thanks John, Keep reading !!!

    Reply
  5. JSDevLife says:
    November 21, 2018 at 10:36 am

    Thanks Yogesh, Keep Reading !!!!

    Reply
  6. The Blogger says:
    December 7, 2018 at 2:32 pm

    As an open-source elective, PHP is consistently created by a functioning and exceptionally committed worldwide network. language learning app Techpally

    Reply
  7. George says:
    July 8, 2020 at 10:19 am

    you can also save a lot of money when you do some home rentals, just find a cheap one* website design la

    Reply
  8. George says:
    July 9, 2020 at 1:56 pm

    Thank your for all the enthusiasm to offer such handy information here. los angeles web design

    Reply
  9. william locas says:
    July 13, 2020 at 11:38 am

    Interesting website, i read it but i still have a few questions. shoot me an email and we will talk more becasue i may have an interesting idea for you. website design company

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Solving LeetCode Problem 79 – Word Search in JavaScript
  • Solving LeetCode Problem 48: Rotate Image using JavaScript
  • Solving the “Container With Most Water” LeetCode Problem in JavaScript – A Comprehensive Guide
  • LeetCode Solution: 54: Spiral Matrix in JavaScript
  • Solution to LeetCode Problem 31. Next Permutation in JavaScript

Archives

  • 2023 (5)
  • 2022 (20)
  • 2021 (2)
  • 2020 (4)
  • 2019 (14)
  • 2018 (17)

Categories

  • blockchain development
  • Blog
  • crystal
  • flutter
  • flutter.io
  • GitHub
  • Installation
  • Ionic Framework
  • javascript
  • leetcode-in-js
  • masteringInJavasript
  • mcqs
  • MongoDB
  • nodejs
  • Object Oriented Javacript
  • python
  • smart contracts
  • visual studio

Quick Links

  • Home
  • Leetcode in JS
  • About me
  • Contact Us

Terms of service

  • Terms Of Service
  • Disclaimer
©2023 JsDevLife | Design: Newspaperly WordPress Theme