I have an object, cards, which is made up of other objects.
When I loop through cards, I expect other objects to get returned. Instead, only a string is returned. I've included what gets returned inline in the code below.
console.log(typeof cards); //returns object
console.log(cards); //returns the 3 objects: [Object, Object, Object]
console.log(cards.length); //returns 3
for (var card in cards){
console.log(typeof card); //returns 0,1,2 as a string, but it should return another object
};