Skip to content

Daniel Mendez JavaScript-I - #460

Open
dan2014 wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
dan2014:master
Open

Daniel Mendez JavaScript-I #460
dan2014 wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
dan2014:master

Conversation

@dan2014

@dan2014 dan2014 commented Oct 15, 2018

Copy link
Copy Markdown

No description provided.

@trevorfehrman trevorfehrman left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really impressive grasp of the stretch, you're way ahead of the curve.

Wrapping your head around the prototype now will pay off.

Comment thread assignments/arrays.js
}
}
console.log(BMWAndAudi);
let myVar = JSON.stringify(inventory);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nitpicky but a slightly more semantic name would be good here.

Comment thread assignments/objects.js
// 2. Nest a child object in the parent object with name and age as well. The name will be George and the age will be 50.
parent.child = {"name":"George","age":50};
// 3. Nest a grandchild object in the child object with properties for name and age. The name will be Sam and the age will be 30
parent.child.grandchild = {"name":"Sam","age":30};

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome use of assignation. Other coders might fight the object written out literally easier to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants