javascript loop through things code example
Example: loop over keys in object javascript
Object.keys(obj).forEach(function(key) {
console.log(key, obj[key]);
});
Object.keys(obj).forEach(function(key) {
console.log(key, obj[key]);
});