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

  Рет қаралды 128,328

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 114
@quibetamos8954
@quibetamos8954 5 жыл бұрын
I just got into coding.. sometimes its hard for beginners like me to get a really simple and easy to understand tutorial. after watching your tutorial on "javascript" objects i found out that you are the one guy i was looking for. Thanks for your time on this man.
@achengster4
@achengster4 4 жыл бұрын
I LOVE the way you select your words and how you’re consistent with ALL your examples. You are like a great short book in every episode.
@Gaublyn
@Gaublyn 6 жыл бұрын
I've been watching your videos for the last few days. They are well put together and wanted to thank you by not only subscribing and putting notifications on, but by actually Thanking you for the time and work you put into these videos and making them easy to follow along with.
@InstructorVictor
@InstructorVictor 5 жыл бұрын
I agree. I think his take on things is great for beginners, especially if you want to pick up the basics. I try to be as approachable, too, and I think I can get the point across well. Check out my own tutorial when you can: kzbin.info/www/bejne/a3SxXmqDhNiAqck
@Sergmagnum
@Sergmagnum 2 жыл бұрын
@@InstructorVictor what is this for exactly?🤨
@koki6761
@koki6761 2 жыл бұрын
Hey Daniel, I just want to thank you for making this JavaScript tutorial video. Your javaScript tutorial playlist is the perfect, short with well packed information that a bigger student could understand in a short time without getting confused with a lot of coding. You have no idea how many tutorials I've been watching to Learn Javascript. Some of them take 3 to 5 hr to finish. Even with the time stamp it's complicated to understand, but now I'm glad finally I found your videos. THANK YOU SO MUCH Dani!!! keep the good work.
@pojer93
@pojer93 6 жыл бұрын
first video i bumped in to. its nice i think i will watch whole series
@Adorict
@Adorict 2 жыл бұрын
Been learning JS for some time now and struggling with objects/constructors/factory functions and you are cementing the knowledge in my brain. Thank you sir.
@evilseed880
@evilseed880 6 жыл бұрын
This is one of the best tutorials out there for basic objects. Short, sweet and to the point.
@tatahfeli
@tatahfeli Жыл бұрын
Cheers, you just gained a new subscriber because of this video. It means a lot to me as a beginner in coding
@Dani_Krossing
@Dani_Krossing Жыл бұрын
Glad you are enjoying the videos :)
@S1NA-Gaming
@S1NA-Gaming 6 жыл бұрын
You are great. Your tutorials for PHP are the finest.
@Richard-wh6wg
@Richard-wh6wg 5 жыл бұрын
I had some knowledge of this global object, method and properties and things like that, but I've never found someone who could explain to me what exactly they are, until now. Thanks for the video mate
@davidhahn8583
@davidhahn8583 4 жыл бұрын
you are a gifted teacher. thank you for making your channel.
@kriskoeh6901
@kriskoeh6901 4 жыл бұрын
Please create more Javascript videos. I have been through all of youtube and you’re the first person that made it click. Make a whole course. Will buy. 🤣 I’m desperate here.
@erencool2367
@erencool2367 4 жыл бұрын
stuff like this should be boring.... but actually I had a lot of fun watching this vid :) ty again Daniel
@thanossym2281
@thanossym2281 4 жыл бұрын
Thank you for your video!! you are good teacher!
@rashmedo
@rashmedo 4 жыл бұрын
Brilliant explanation.. Yoda status in teaching
@michaelhalcyon3658
@michaelhalcyon3658 4 жыл бұрын
Keep up the good work!
@Auzep
@Auzep 5 жыл бұрын
Frameworks make so much sense now that I'm understanding JS lol. Thanks for your videos!
@pjf7044
@pjf7044 2 жыл бұрын
Very nice and clean! Ive seen other people start it using var person = { name: "daniel", age: "13"} etc but thats get confusing when later on they start doing the dot syntax. I think its easier to just start with the more complex and then simplify from there if need be.
@tatahfeli
@tatahfeli Жыл бұрын
Thank you. So detailed
@growguild1556
@growguild1556 6 жыл бұрын
day by day you are changing my life thank you Daniel :) this will come back to you times infinity!
@paudelamarianaoancea3761
@paudelamarianaoancea3761 5 жыл бұрын
interesting ! nice explanation dude.
@blackburd
@blackburd 2 жыл бұрын
Awesome tutorial, great speed for me.
@shinevisionsv
@shinevisionsv 6 жыл бұрын
Awesome video as always!
@omid443
@omid443 6 жыл бұрын
Thanks for sharing your knowledge ...
@hhmr345
@hhmr345 2 жыл бұрын
awesome video bro really good job 100 / 100
@incognitoincognitov8349
@incognitoincognitov8349 6 жыл бұрын
4:20 Do you instantly create a property of an object(person) when you write person.name or is it buildin?
@calibr0636
@calibr0636 5 жыл бұрын
Nice vid man, can’t believe I’ve made it this far.
@panchalankit07
@panchalankit07 5 жыл бұрын
Thanks for this Video, its very useful
@duvanxo3033
@duvanxo3033 3 жыл бұрын
Great information. Thank you!
@aruns9491
@aruns9491 6 жыл бұрын
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
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
Thanks :)
@mickeyslim1
@mickeyslim1 3 жыл бұрын
I second this beautiful honest and truthful statement. If all teachers were like you....👌
@chrisavhr
@chrisavhr 6 жыл бұрын
8:35 wouldn't it be better to use this.age instead of person.age?
@reidwilliamson6477
@reidwilliamson6477 3 жыл бұрын
Thanks Dani, much love
@SuperSamsosa
@SuperSamsosa 4 жыл бұрын
very sound teaching. The way you explain makes it as easy as one can figure to understand. Btw what is that backgroung noise, sounds like a snoring pet, if you listen real close with headphones on.
@AJHF1991
@AJHF1991 3 жыл бұрын
Very well explained, thanks! :)
@sol3cito33
@sol3cito33 4 жыл бұрын
Awesome tutorials, tusen takk!
@erickchavez4551
@erickchavez4551 3 жыл бұрын
Nicely explained :) Thanks a bunch!
@TheMclovinfromhawaii
@TheMclovinfromhawaii 6 жыл бұрын
Thank you for the lesson! Cheers
@Anonymous-qv5ym
@Anonymous-qv5ym 6 жыл бұрын
Thank you so much for the informative video :D
@germanduterte7110
@germanduterte7110 5 жыл бұрын
He is a very great teacher
@ОлександрМета
@ОлександрМета 2 жыл бұрын
Really good tutorial, now JS has more sense for me
@suparthghimire1644
@suparthghimire1644 5 жыл бұрын
Hey the only thins i dont understand abouit js object is Unlike in c++, we require a class before making an object. BUt here, let person = {...} Automatically makes an object, that refers to which class?
@remedyjohnson
@remedyjohnson 2 жыл бұрын
Just know we still watching your tutorials And their helpful
@theseigemeister
@theseigemeister 3 жыл бұрын
This is great, thank you!
@mohammadmohammadi4291
@mohammadmohammadi4291 6 жыл бұрын
Great tutorial
@aayushsingh8885
@aayushsingh8885 5 жыл бұрын
Can u teach express as backened with mongodb sir
@nasriddinbekbektemirov5796
@nasriddinbekbektemirov5796 4 жыл бұрын
Dude You are awesome
@mkt92z
@mkt92z 6 жыл бұрын
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!
@Leo-pm5cj
@Leo-pm5cj 2 жыл бұрын
How can I create one object and put inside few keys without value? Value I will put in prompt though browser. How can I do it?
@mavoolumma
@mavoolumma 3 жыл бұрын
Thank you Dani !
@youdahetsehaye2187
@youdahetsehaye2187 5 жыл бұрын
Awesome video. Thanks
@ShaneCrouch
@ShaneCrouch 6 жыл бұрын
Well done!
@rashmedo
@rashmedo 5 жыл бұрын
you are Yoda ! Solid tutorial
@Rii-Americano
@Rii-Americano 6 жыл бұрын
Thanks for ur tutorials
@index8983
@index8983 5 жыл бұрын
Very nice video
@muramasa7537
@muramasa7537 6 жыл бұрын
This is my first time learning a programming language , so idk much bout how stuff works . So...what are objects used for in games or apps making ?
@nicolasap86
@nicolasap86 4 жыл бұрын
This looks like Elon Musk if we was teaching about Javascript back in the late 90's
@youcefdebih2660
@youcefdebih2660 6 жыл бұрын
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?
@christophercudiamat5695
@christophercudiamat5695 6 жыл бұрын
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
@atlantean.prince
@atlantean.prince 3 жыл бұрын
thank you King
@NERO-ez1mn
@NERO-ez1mn 6 жыл бұрын
so object variables are list of arrays in a single variable?
@namanchoudhary2501
@namanchoudhary2501 6 жыл бұрын
Pls make an exersice video for object
@MasterCorneilous
@MasterCorneilous 2 жыл бұрын
What's the difference between var and let or is let more like function? Idk
@Dani_Krossing
@Dani_Krossing 2 жыл бұрын
I explained the difference in lesson 17 in this course. 🙂
@jeremyllewellynhamill-keay5347
@jeremyllewellynhamill-keay5347 3 жыл бұрын
thank you, better than paid courses on udemy
@namanchoudhary2501
@namanchoudhary2501 6 жыл бұрын
I always practice javascript by watching your exercises in js
@peculiarmichael874
@peculiarmichael874 Жыл бұрын
Awesome!
@jondyason336
@jondyason336 6 жыл бұрын
awesome. thanks!
@mrspock3889
@mrspock3889 5 жыл бұрын
I little bit confused about the "new" why to use "new" keyword to create an object when you can create the same object with obj{} example: var obj = { something : 'somevalue' }; or just an empty object obj= {} instead of var obj = new Object() ?
@Dani_Krossing
@Dani_Krossing 5 жыл бұрын
The two methods I show are just two different ways to create an object. The methods are called "new Object" and "object literal". For simplicity, readability and execution speed, use object literal when creating objects. The "new Object" method is pretty much a discouraged method today. Here is a link that explains it in more detail: coderwall.com/p/p5cf5w/different-ways-of-creating-an-object-in-javascript
@krbse.3578
@krbse.3578 6 жыл бұрын
In which video did we see why and when to use the "let"?
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
In one of the previous videos :)
@dr_corrupt1014
@dr_corrupt1014 2 жыл бұрын
great teacher
@mickeyslim1
@mickeyslim1 3 жыл бұрын
Thanks, man.
@imtheevil1524
@imtheevil1524 6 жыл бұрын
what means return ++person.age; ++ ?
@namanchoudhary2501
@namanchoudhary2501 6 жыл бұрын
Help him to grow. He is the best mentor i have ever seen
@DanielCardenas23
@DanielCardenas23 6 жыл бұрын
89' baby! Woot woot! Only 2 years older.
@vegasvato55
@vegasvato55 3 жыл бұрын
ONCE THE CLASS CONSTRUCTOR IS CALLED AND CREATES THE NEW OBJECT, HOW DO I GET THE NEW OBJECT INTO AN OBJECT ARRAY??? HOW DO I GET A NEW PERSON OBJECT FROM THE NEW PERSON CONSTRUCTUR INTO THE PERSONS ARRAY???
@simoo7755
@simoo7755 4 жыл бұрын
thank you!
@ChrisTian-ox5nr
@ChrisTian-ox5nr 4 жыл бұрын
Thank youuuuuu!
@MrVirkMedia
@MrVirkMedia 5 жыл бұрын
awesome thanks
@cliffordfolefac7754
@cliffordfolefac7754 3 жыл бұрын
Who else is just kicking off with javascript here
@shortandsimple7976
@shortandsimple7976 4 жыл бұрын
Good explanation. I also added video about different ways to create JavaScript object. Your evaluation and tips would be great
@barringdev7119
@barringdev7119 5 жыл бұрын
0:10 It's not a bug, it's a feature.
@cybergen2K
@cybergen2K 6 жыл бұрын
Why do we have objects if we only ever seem to work with one object at a time? Can people please give me example of where we use multiple objects?
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
An example of multiple objects could be if create web page that has video tutorials on it people can interact with. He we could have a Course object, a User object, a Comment object, etc... Essentially we create an object for anything that has similar information or functions tied to it.
@namanchoudhary2501
@namanchoudhary2501 6 жыл бұрын
mmtuts Pls make an exersice video too For this explaination
@amosmachora
@amosmachora 3 жыл бұрын
My guy and his hands. Please dont stop
@albertofabbri1543
@albertofabbri1543 5 жыл бұрын
Very nice video but... can you talk a little bit slowly? It' hard to non-native speakers to keep up with you.
@ingiben4889
@ingiben4889 5 жыл бұрын
god bless, thank you
@yongjung5433
@yongjung5433 6 жыл бұрын
you are the man!
@isaacsnowcarini4808
@isaacsnowcarini4808 4 жыл бұрын
If you say “JavaScript” another time I m gonna start crying!
@Dani_Krossing
@Dani_Krossing 4 жыл бұрын
"JavaScript"
@isaacsnowcarini4808
@isaacsnowcarini4808 4 жыл бұрын
Dani Krossing Why u mean Ahahaha I cry now Great vid regardless ;)
@namanchoudhary2501
@namanchoudhary2501 6 жыл бұрын
As usual you explains very well and bla bla bla... 😂😂
@instaminox
@instaminox 5 жыл бұрын
JS is not an Object oriented programming it is Object based it is different! it does not support polymorphism, encapsulation ect..
@fraileneflores1937
@fraileneflores1937 3 жыл бұрын
I hope I'm as genius as you sir!
@abunurullah2340
@abunurullah2340 2 жыл бұрын
manay manay thanks
@maxmustermann7211
@maxmustermann7211 3 жыл бұрын
Cool guy
@FS02012
@FS02012 2 ай бұрын
why didn't you use VAR instead of let ?
@darrenlefcoe
@darrenlefcoe 4 жыл бұрын
see link to a similar video that might support Objects in JS: kzbin.info/www/bejne/mXiXeHp5hLpmn5I
@dhojebonufang
@dhojebonufang 5 жыл бұрын
G-avaScript
@skylerspillers9104
@skylerspillers9104 3 жыл бұрын
This guy reminds me of Elon Musk
@Black1sheep92
@Black1sheep92 6 жыл бұрын
Trying to figure out the accent. Definitely a Scandinavian but not Swedish accent because, we don´t sound exactly like that but close. It´s not Norwegian because you don´t sound that gay, so you must be from Denmark.
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
"Ding ding"
@yvindnestvold2100
@yvindnestvold2100 5 жыл бұрын
do we Norwegians sound gay? I never noticed haha
@sidiebnou4958
@sidiebnou4958 Жыл бұрын
bro you waist so much time in your intos. Just get in the subject very fast. I think that better for your channel.
@bastienmonet4841
@bastienmonet4841 Ай бұрын
it's been a year, but you know, you can just skip parts that feel unessessary for you, it's the avantage of a youtube video
Javascript Objects Explained | Javascript Objects Tutorial
23:17
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
STOP Using Classes In JavaScript | Prime Reacts
14:02
ThePrimeTime
Рет қаралды 258 М.
Learn JavaScript OBJECTS in 7 minutes! 🧍
7:01
Bro Code
Рет қаралды 79 М.
Object In JavaScript | JavaScript Object Tutorial For Beginners
16:36
An Encounter with JavaScript Objects
10:38
Fireship
Рет қаралды 148 М.
#19 Objects in JavaScript
10:18
Telusko
Рет қаралды 141 М.
Reference Vs Value In JavaScript
15:12
Web Dev Simplified
Рет қаралды 186 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН