• Monday , 25 March 2019

21: What Are Objects in JavaScript | How to Create an Object in JavaScript | JavaScript Tutorial

Code Canyon

In this JavaScript tutorial you will learn about JavaScript Object Oriented Programming, which is a much more efficient way of creating JavaScript code. We will also look at how to create JavaScript objects and move towards learning about object constructors.

There is one thing from recording this episode I need to clarify!

In the video I explain that properties and methods are essentially variables and functions that are created inside objects. I just want to clarify that I’m aware that this is not completely true. I just made this comparison to help people get the idea behind what objects are and what they contain 🙂

List of global objects: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

Meet Daniel: another Full-Stack developer who can teach you coding fast and free 😀


First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful 🙂

Material for this lesson: https://www.patreon.com/posts/javascript-21-19434975

Original source

3d Ocean

Related Posts


  1. Mohammad Mohammadi
    January 9, 2019 at 01:30

    Great tutorial

  2. Christopher Cudiamat
    January 9, 2019 at 01:30

    as a visual learner im learning more about js with his actions haha.i do the same thing whrn trying to explain my self some concepts

  3. Marko Pojer
    January 9, 2019 at 01:30

    first video i bumped in to. its nice i think i will watch whole series

  4. Yong Jung
    January 9, 2019 at 01:30

    you are the man!

  5. Gabriel Lidenor
    January 9, 2019 at 01:30

    Nice video. Another good way to display the contents of an object in the console is by using the table function, like this: console.log(table(myObject));

  6. Fr0d0B2g0sz
    January 9, 2019 at 01:30

    You look, talk and move like a gay.

  7. Youcef Debih
    January 9, 2019 at 01:30

    Awesome Video ! Thank you sir ! but I have Just one Question ! What's the difference between using “let” and “var” to declare a variable in JavaScript?

  8. Tha_Champ
    January 9, 2019 at 01:30

    Isn't the first example you gave (where you used the new keyword) also considered a constructor? I thought those were called empty object constructors or something like that. Anyways great video, as always!

  9. chrisnz90
    January 9, 2019 at 01:30

    8:35 wouldn't it be better to use this.age instead of person.age?

  10. BWF Code
    January 9, 2019 at 01:30

    Amazing tutorial Daniel! Your way of explaining things is very good, detailed but so easy to understand. Keep it up! 🙂

  11. I'm the Evil
    January 9, 2019 at 01:30

    what means return ++person.age; ++ ?

  12. Omid incarnation
    January 9, 2019 at 01:30

    Thanks for sharing your knowledge …

  13. Jon Dyason
    January 9, 2019 at 01:30

    awesome. thanks!

  14. NERO
    January 9, 2019 at 01:30

    so object variables are list of arrays in a single variable?

  15. Grow Guild
    January 9, 2019 at 01:30

    day by day you are changing my life thank you Daniel 🙂 this will come back to you times infinity!

  16. Zachary Maller
    January 9, 2019 at 01:30

    This is one of the best tutorials out there for basic objects. Short, sweet and to the point.

  17. oo7moses
    January 9, 2019 at 01:30

    Put your hands down, bitch, I ain't gonna shoot you

  18. Daniel Cardenas
    January 9, 2019 at 01:30

    89' baby! Woot woot! Only 2 years older.

  19. rrleo
    January 9, 2019 at 01:30

    In which video did we see why and when to use the "let"?

  20. Amri
    January 9, 2019 at 01:30

    Thanks for ur tutorials

  21. arun s
    January 9, 2019 at 01:30

    One thing I don't understand is why you don't have so much views or subscribers.I mean even in a paid course they won't teach like you do,your content is good, voice is not boring,concepts and codes are easy to grasp..I feel bad for you bro, mark my words one day you'll be great

  22. Naman Choudhary
    January 9, 2019 at 01:30

    Pls make an exersice video for object

  23. Naman Choudhary
    January 9, 2019 at 01:30

    Help him to grow.
    He is the best mentor i have ever seen

Leave A Comment

You must be logged in to post a comment.