SyntaxFix
Write A Post
Hire A Developer
Questions
Use index notation with the key.
Object.keys(obj).forEach(function(k){ console.log(k + ' - ' + obj[k]); });