Comment

Comment by thomasfoster96

Ah, well this would return a new object:

    Object.entries(obj).map((prop, value) => ...).reduce((newOdj, [prop, value]) => newObj[prop] = value);
I see your point about verbosity :)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton