Uncaught typeerror: iterator value meps is not an entry object

November 14, 2015

You’re doing it all wrong. It’s:

new Map([ ["key1", "a value"], ["key2", "another value"]]);

not:

new Map(["key1", "a value"], ["key2", "another value"]);

If you’re still not seeing it: Map requires an array of arrays. More here.

Uncaught TypeError: Iterator value meps is not an entry object - November 14, 2015 - mw