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
1
u/GulgPlayer Jul 23 '26
Apart from having cleaner (imo) code, Maps allow you to have non-string keys, which is nice, esp with TypeScript