const map = new Map();
map.set('foo', 'bar');
// none of these are defined as entries is an
// iterator not a list
map.entries.map
map.entries.forEach
map.entries.filter
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: Maps in ES6 - A Quick Guide
Replies for: I agree, would've been nice with key, value. But forEach on arrays is val, key - so I can see why they did it that way. I don't fully understand w...
For further actions, you may consider blocking this person and/or reporting abuse