I have an Object like this:
{
1: [{'id':'1','value':'aa'}],
2: [{'id':'2', 'value':'aa'}, {'id':'2','value':'bb'}],
3: [{'id':'34', 'value':'cc'}]
}
How should I iterate that object? I'm very confused about it
I tried things like:
// object es my var
Array.from(object).forEach(a => {
console.log(a)
});
Array.prototype.forEach.call(object, child => {
console.log(child)
});
With out success