Skip to content
Advertisement

A list of maps group by and sum up with a certain key

I would like to make a list of maps being grouped by and summed up with a certain key.

JavaScript

I ve already grouped tagList by category

JavaScript

Here is the example

JavaScript

This is the sample output that I want to get finally

JavaScript

I got stuck at this point..

JavaScript

Advertisement

Answer

This is similar to your previous question

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement