I have this code where i group array:
let result = this.events.reduce( function(r,a){ r[a.item] = r[a.item] || [];
r[a.item].push(a);
return r;
}, Array());
//this.events.map((event)=>{ console.log(event,'e'); this.items[event.item] = event; console.log('itemssss',this.items)});
this.items = result;
console.log(this.items);
How can i iterate now this two arrays in html ?? Any suggestion?
So i want first to display that from first array and then to display data from second array ?
