DEV Community

Discussion on: Maps in ES6 - A Quick Guide

Collapse
 
joegaudet profile image
Joe Gaudet
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