JavaScript for Developers 24 - Nested Objects

preview_player
Показать описание

Objects can be nested within other objects. Here's how.
Рекомендации по теме
Комментарии
Автор

Thanks for a JavaScript series for former Java developers like yourself. The presentations are very concise and have all the beginner level fluff cut out. Well Done!

ron
Автор

I don't even know any other languages like c, c++, java but I can understand very easily. Thanks for your videos. I would request you please upload a full javascript course including how to build projects so that it would be helpful to many people. your way of teaching is superb and awesome

itcertifications
Автор

Good explanations!
Just to want to highlight that quotes are not mandatory on objects properties.

For example the following is perfectly valid:
var myObj = {
property: "value"
}

kolofap
Автор

you express very well. Carry on with this great job!

danielstonebuilt
Автор

Thanks, it is clear with objects made of texts. How to apply this to graphics? If I want to create a smile icon as an object and the eyes and the mouth to be nested objects so that the icon moves along X or Y or Z axis, or rotates, the eyes and mouth moves with it - how shall I approach this?

vdwbefv
Автор

So its like div nesting in HTML5. - if you want to access the children in a div like the unordered or ordered lists you just call the nested divs and its children.
example --->> div div div ul li
same concept, thats if I am understanding correctly :D

RobFos
Автор

Sir, is it not necessary to include ; at the end of the closing curly bracket of the inner object?

shethnisarg
Автор

what if Prop1 has multiple values and you only want to console log the 1st one

RunTheAtlas
Автор

Just Like to know if For C++ also variable is the reference to the object memory for object that are stack based i.e.. Object which are not created using new

Ex- Class ABC {
//
//
}

ABC a; // Here a is a object or a reference and we are not using new to create object here

devanshugarg
Автор

how to get innerprop key of that nested object ?

bhadauriyashubhi
Автор

I am looking a part time online coding bootcamp....let me know

TheMwenyeji