If i have an array of objects, how can i iterate through it?
For example this array
[{ name: "objc1", size: "small" }, { first: "objc2", size: "medium" }, { first: "objc3", size: "Big" }]
I can access each object with this:
for (var key in collection){
alert(collection[key])
}
But how can i go inside the object, to each property?