Playing with JavaScript Objects

preview_player
Показать описание
This video covers basic creation and manipulation of Objects in JavaScript. It also discusses the basic similarities and differences between Objects and Arrays.

One key point to take away is that you can put Objects in Arrays or Arrays inside Objects.
Рекомендации по теме
Комментарии
Автор

It would be helpful if you could walk through how objects within objects (or functions within objects) can be called and updated.

lenomarin
Автор

Though still half way in the journey of following your tutorials, many fogs in my head for many years have been cleared. Thank you.

rotrose
Автор

first time I run into tutorials like these, unique explanation, clear and calm voice well done man hope to see more like this

silentgaming
Автор

The fact that objects automatically update everywhere they are located is truly amazing!

ozzyfromspace
Автор

Steve, you are amazing. You talk slowly and calm and clear. Your voice has a very calm sound and makes me want to listen to you even if you describe how to vivisect a frog. Plus, your name just reminded me that it is many months I didn't check if there is any new Berserk chapter out.

KLNNNN
Автор

Another great video, Steve! I'm watching almost all of your videos throught my learning journey with JS. If I need to understand better a specific concept, I hurry to your channel. Keep going, you're doing an amazing job! 🤗 💖

akemim.
Автор

Amazing! Thanks for your clear explanations.🌹

saravafaei
Автор

Thanks Steve! You make excellent tutorials that are very clear and easy to follow.

eavincentg
Автор

Thank you Steve I have learn a lot from your channel keep making videos

jani.apurva
Автор

I know this is an older video but could you explain a bit more about why just adding the line dog["age"]=14 didn't work? Woody was declared up at the top so I expected to see that one updated. Thanks!

anitag
Автор

@6:14 So, would the age data for dog be added if we had used dog.age = 14; instead or would it throw an error because there are 2 dogs in the array?

orionsquare
Автор

5:39: Are you adding the label "age" to the variable "cat" or is "age" a variable within a variable? My take is that ir'd be the same as I writing "age":"2" on line 3

CesarJuarezVargas
Автор

Is "var" from line 7 the only element that would differentiate an array from adding a new label to an object as in line 16? The latter looks very similar to an array nomenclature in terms of using square brackets.

CesarJuarezVargas
Автор

Hey Steve if I wanted to delete any of my objects properties I would use delete Operator right?
as is: delete cat.age;
And how can I save the value in a var before I deleted it? Is this correct? var deleted = delete cat['age'];

juniordallagnolo
Автор

How to add a similiar property for the several objects shortly?

indigosay
Автор

How can you add and isolate an object when adding it to an array, so if the elements in the array change, it doesn't change the original object? I tried putting the object in () like "pets=[cat, (dog)]" but that didn't isolate it.

gginnj
Автор

Cool. Adding objects into an array. How about the opposite? 🙂

jaimedpcaus
Автор

How can I let more than 1 atribute to property?

alvarogoyenechea
Автор

Wouldn't it have been the same to add "age":"14" to var dog from the beginning OR being added as dog.age=14?

CesarJuarezVargas