Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to use array reduce for more than just numbers. Parent comment
peopleObj = peopleArr.reduce( (a,x) => (a[x.username]=x, a), {} );
There are no comments on this comment yet.
peopleObj = peopleArr.reduce( (a,x) => (a[x.username]=x, a), {} );