Create a line with total from each group of items in a list in vuejs – Javascript
i want to create a line with total from each group of items in a list like this: So i did this to group by Car: if (val == 2) { this.dadosResumo.sort((a, b) => (a.carro > b.carro ? 1 :…