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 Loops, Arrays, and Objects

I am not remembering this issue and want to know how o solve

I'm having issues with this question. I feel i should remember but can't. Any ideas n how to solve?

First off, I want to apologize as I clearly can’t type. Second it was a question with having a function write out everything in an object. Not at my computer right now but went with a question starting with // blank(var product blank location) //

1 Answer

Steven Parker
Steven Parker
231,269 Points

The special type of loop that iterates all the properties of an object is known as a "for ... in" loop. Those keywords are also what the quiz is expecting in the blanks.