This is probably something really dumb, but I don't understand why this doesn't work.
var a = {"cat":"large"};
a.forEach(function(value, key, map){
console.log(value);
});
Uncaught TypeError: a.forEach is not a function
See Question&Answers more detail:os