javascript loop through object properties code example
Example: javascript loop through object
var person = {"name":"bob", age:45};
for (var property in person) {
console.log(person[property]);
}
var person = {"name":"bob", age:45};
for (var property in person) {
console.log(person[property]);
}