+ 1
keys() not defined?
In section ES6 maps lesson 62.1 try-it codes get the error (down as this Question) when trying to use the keys() method on a Map object. Written after defining map. console.log (keys.map);
1 Answer
+ 5
// try this
for (let k of map.keys()) console.log(k);