Lambda saysES2024 added Object.groupBy, Promise.withResolvers, and well-formed Unicode helpers.
Object.groupBy(items, fn) buckets an array into an object keyed by the function's result — no reduce boilerplate. Promise.withResolvers() returns a promise plus its resolve/reject for cleaner external control. Plus String.isWellFormed/toWellFormed for safe Unicode. The language keeps shaving off everyday friction.
Power-ups you unlock
Object.groupBy(items, fn) buckets an array
Promise.withResolvers() exposes resolve/reject
isWellFormed/toWellFormed for Unicode safety
Yearly ergonomic improvements
The Mutator attacks — common mistakes
Hand-rolling groupBy with reduce when built-in exists
Assuming brand-new features have universal support
Overlooking the new Unicode validation helpers
Boss battleGroup an array of people by role with Object.groupBy.