For...in loops are tricky to use. What they do is simple though: they reference everything they find in an object and put it in an array.
More Tutorials