News for hackers. Stuff that matters.
Re:TC39: Add Object.groupBy and Map.groupBy by danvk on Tuesday December 19, 2023 @05:15PM (#38702580)
What about Object.fromEntries?

See https://github.com/tc39/proposal-array-grouping for why this isn’t a method on Array.prototype.

Re:TC39: Add Object.groupBy and Map.groupBy by flqn on Tuesday December 19, 2023 @05:18PM (#38702625)
Constructs an object from kv pairs, definitely assoctiated with the "Object" prototype. Groupby is more dubious