by edgarvm · 7y ago · 0 comments
peopleObj = peopleArr.reduce( (a,x) => (a[x.username]=x, a), {} );
No comments yet.