The #Specification from last year.
ECMA-262, 14th edition, June 2023
20.1.2.12 Object.getPrototypeOf (O)
– is followed by –
20.1.2.13 Object.hasOwn (O, P)
#JavaScript #specification #reading
#newFeatures #ECMAScript
Draft ECMA-262 / October 23, 2024
ECMAScript® 2025 Language Specification
20.1.2.12 Object.getPrototypeOf (O)
20.1.2.13 Object.groupBy (items, callback)
20.1.2.14 Object.hasOwn (O, P)
`Object.groupBy()` is new in #javascript
All major browsers support it.
https://caniuse.com/mdn-javascript_builtins_object_groupby
The #jskata for this is in the making.
Get ahead by learning all the other 132 katas on https://jskatas.org
Wanna try and play around with `Object.groupBy()`, which is new pretty in #JavaScript go to
https://jskatas.org/katas/es15/language/object-api/groupBy/