abundant-river-80663
12/15/2025, 7:46 PMmammoth-restaurant-4670
12/15/2025, 8:13 PMdvo.entries() compared to how it was collected in the example with .reduce(...).map(...) ? I agree that your code is more readable and I don't see anything that sticks out as wrong to me.abundant-river-80663
12/15/2025, 8:15 PMmammoth-restaurant-4670
12/15/2025, 8:26 PM.reduce to turn it into a map, renaming the properties, calls Object.entries on the map to turn it back into an array of tuples, and finally .map to turn it back into an array of objects with key and value properties. In my professional opinion it is doing nothing 🙂