each in object javascript code example
Example: for each of object
Object.keys(object).map(function(objectKey, index) {
var value = object[objectKey];
console.log(value);
});
Object.keys(object).map(function(objectKey, index) {
var value = object[objectKey];
console.log(value);
});