Comment

Comment by chrisandchris

> accumulator

I had similar trouble, but I know call the "accumulator" just "previous" which makes it more logical in my head:

.reduce( (previous, current) => previous+current, 0 );

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton