Object.groupBy and Map.groupBy: Grouping Without the Reduce Ritual
ES Object.groupBy / Map.groupBy: keyed buckets, insertion order, and when a Map of arrays beats a plain object of arrays.
1 min read
Tag
3 articles · 3 min of reading
ES Object.groupBy / Map.groupBy: keyed buckets, insertion order, and when a Map of arrays beats a plain object of arrays.
Promise.withResolvers() as standard library: one promise, exposed resolve/reject, and the queue/test patterns that no longer need a Deferred class.
ECMAScript iterator helpers: lazy map and filter on iterators, why they are not Array extras, and the prototype they live on.