ES2024 JavaScript: Object.groupBy, Promise.withResolvers, and Array.from ...
ES2024 (ECMAScript 2024) ships three utility methods that each solve a common boilerplate pattern: Object.groupBy() replaces Array.reduce()-based grouping, Promise.withResolvers() replaces the resolver-capture pattern, and Array.fromAsync() replaces manual async iterator consumption. All three are baseline in Chrome 117+, Firefox 119+, and Safari 17.2+.