Re:How to use array reduce for more than just numbers
by runarberg on Sunday June 02, 2019 @12:07PM
(#20076285)
You can also use `.map()` and `Object.fromEntries` if you really don’t want to mutate the accumulator:
But you should probably be using a `Map` for this anyway:
[ Parent
| on HN ]
There are no comments on this comment yet.