Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects Review Object Basics

Jason Daniels
PLUS
Jason Daniels
Courses Plus Student 4,043 Points

Question / Answer Change Suggestion

One of the questions asks,

Say you have the following object: var animal = { name : "Zebra", lifeSpan: 25, weight: 770 };

Which of the following code examples would change the weight property?

The "correct" answers are:

animal.weight = 770

and

animal["weight"] = 770

...these do not actually "change" the weight property (which is already set to 770 in the example object). I would suggest either the question be changed OR the answers be changed...

1 Answer

You might want to include this comment in the text area after you click 'Rate this Quiz' at the end of the quiz. This will give it the attention of the support staff.

Jason Daniels
Jason Daniels
Courses Plus Student 4,043 Points

Thanks, mkmk, I have submitted my comment as recommended.