var obj = {a: 1, b: 2, c:3}
Object.keys(obj).forEach(function(x){
console.log(obj[x])
})
This gives: 1 2 3
so how can I make it to work give me 1 4 9 (e.g. times by itself) I thought this would work
Object.keys(obj).forEach(function(x){
console.log(obj[x*x])
})