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 Create an Array of Objects

professionalb
seal-mask
.a{fill-rule:evenodd;}techdegree
professionalb
Full Stack JavaScript Techdegree Student 5,082 Points

Typo in the instructions?

Instructions indicate each object should have 4 properties, but then the example below lists 3. Minor issue, but a point of confusion.


  1. Add objects to the array. Each object should be a single product, with the following 4 properties. // Make up the values for the properties, just make sure the inventory is a whole number (it's the number of that product currently in stock) and unit_price is a floating point number like 45.99 // -- name // -- inventory // -- unit_price

2 Answers

Steven Parker
Steven Parker
229,785 Points

You can report bugs directly to the staff, as described on the Support page.
You may even get an "Exterminator" badge. :beetle:

glad I am not the only one who caught this, I agree it must be a minor mistake

Steven Parker
Steven Parker
229,785 Points

Since the first report, they've added a Correction under the Teacher's Notes tab.