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 😀
https://www.youtube.com/channel/UCPIe87uLDW-QZ5FnUZqdxoA
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
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
23 responses to “21: What Are Objects in JavaScript | How to Create an Object in JavaScript | JavaScript Tutorial”
Great tutorial
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
first video i bumped in to. its nice i think i will watch whole series
you are the man!
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));
You look, talk and move like a gay.
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?
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!
8:35 wouldn't it be better to use this.age instead of person.age?
Amazing tutorial Daniel! Your way of explaining things is very good, detailed but so easy to understand. Keep it up! 🙂
what means return ++person.age; ++ ?
Thanks for sharing your knowledge …
awesome. thanks!
so object variables are list of arrays in a single variable?
day by day you are changing my life thank you Daniel 🙂 this will come back to you times infinity!
This is one of the best tutorials out there for basic objects. Short, sweet and to the point.
Put your hands down, bitch, I ain't gonna shoot you
89' baby! Woot woot! Only 2 years older.
In which video did we see why and when to use the "let"?
Thanks for ur tutorials
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
Pls make an exersice video for object
Help him to grow.
He is the best mentor i have ever seen