Why in JavaScript doesn't Map have anything like .map, .reduce, etc.?

https://news.ycombinator.com/item?id=27369965
by meeech • 5 years ago
2 3 5 years ago

Just wondering if anyone has any insight (links?) or was involved in any of the discussions around Map() in JS. Was just wondering - it seems like the general methods - map, reduce, some, etc... - would have been useful on Maps as well, so i got curious why they weren't?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com