5 amazing new JavaScript features in ES15 (2024)
Published in
4 min readJun 2, 2024
2024: Another incredible year of brand-new JS feature upgrades with ES15.
From sophisticated async features to syntactic array sugar and modern regex, JavaScript coding is now easier and faster than ever.
1. Native array group-by is here
Object.groupBy()
:
Literally the only thing keeping dinosaur Lodash alive — no more!
I was expecting a new instance method like Array.prototype.groupBy
but they made it static for whatever reason.
Then we have Map.groupBy
to group with object keys: