r/javascript • u/Capedcrusader1923 • Jul 22 '26
AskJS [AskJS] what's a javascript feature you mass-adopted way too late and felt dumb about
64
Upvotes
r/javascript • u/Capedcrusader1923 • Jul 22 '26
View all comments
Show parent comment
2
u/HipHopHuman Jul 25 '26
MapandSetrecently got support for their own.mapmethod (from this: https://web.dev/blog/baseline-iterator-helpers) so if you do switch to aMap, you can domap.entries().map()(you might just have to polyfill it though)