iterate thru keys js map code example Example: js foreach key value Object.keys(obj).forEach(function (key) { // do something with obj[key] });