• Sunday , 24 May 2020

#18 JavaScript Tutorial | Objects p.2

Code Canyon

JavaScript is an Object Oriented Programming (OOP) language. A programming language can be called object-oriented if it provides four basic capabilities to developers −
Encapsulation − the capability to store related information, whether data or methods, together in an object.
Aggregation − the capability to store one object inside another object.
Inheritance − the capability of a class to rely upon another class (or number of classes) for some of its properties and methods.
Polymorphism − the capability to write one function or method that works in a variety of different ways.
Objects are composed of attributes. If an attribute contains a function, it is considered to be a method of the object, otherwise the attribute is considered a property.
Loosely speaking, objects in JavaScript may be defined as an unordered collection of related data, of primitive or reference types, in the form of “key:value” pairs. These keys can be variables or functions and are called properties and methods, respectively, in the context of an object.
Video by – Tanmay Sakpal
Simple Snippets Channel link – https://www.youtube.com/simplesnippets

Original source

3d Ocean

Related Posts


  1. Aditya Anand
    December 28, 2019 at 08:26

    btw sir what is the use of object of data types(in the real world) 3:20

  2. Ruchi Sharma
    December 28, 2019 at 08:26

    Sir agar constructor through object banaye aur usme kise attribute add kare toh uska affect sabhi object per hoga ya phir jisme update kiya hai usme hoga.

  3. pallavi shaw
    December 28, 2019 at 08:26

    Can you show us shortcut u are using in keyboards so that we can gain the same speed as you

  4. Shivani Rajiii
    December 28, 2019 at 08:26

    thank you @telusko for providing such marvellous videos……..

  5. sivaprasad gorusu
    December 28, 2019 at 08:26

    Good Tutorial series for beginners

  6. Ankush Sarkar
    December 28, 2019 at 08:26

    class use kar bhai

  7. Archisman Das
    December 28, 2019 at 08:26

    Is there a way to add properties to an object if we are defining them as a function instead of a variable?…please let me know if the question isn't clear…i shall elaborate

  8. Paramita Paul
    December 28, 2019 at 08:26

    function Car(car_brand,car_model,price)


    this.car_brand = car_brand;

    this.car_model = car_model;

    this.price = price;

    this.testautopilot() = function()


    document.write("Learning objects in JS");



    var c1 = new Car("mustang","model9",60000);



    Nothing is getting printed in the browser.
    Can you please tell me where I am going wrong?

  9. Mehul Ambastha
    December 28, 2019 at 08:26

    Hey bro!
    I wanted to ask a little thing.
    What plugins or extensions are you using with VSCode?

  10. Shahul Hameed
    December 28, 2019 at 08:26

    yeah super content

  11. Hashili M. A
    December 28, 2019 at 08:26

    Please add more videos on class and related concepts .

    December 28, 2019 at 08:26

    Yes nice.. 🙏🙏..

  13. Simran Knight
    December 28, 2019 at 08:26

    Why…. I mean why … The helll……. You don't use a dark theme…. 😒😒

  14. amit prajapati
    December 28, 2019 at 08:26

    Thanks you very much sir for explaning the concept of objects in JS. 😄

  15. Kishor Kumar Singh
    December 28, 2019 at 08:26

    Very precise 👌👌👌

  16. Aakarsh Jain
    December 28, 2019 at 08:26

    When you start mysql

  17. sanjay upadhyay
    December 28, 2019 at 08:26

    1th wow

Leave A Comment

You must be logged in to post a comment.