javascript loop over object & print it's keys 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]);
});