when i try this code:
const map=new Map([['a', 1],['b', 2],['c', 3],['d', 4],['e', 5]]); console.log(map.keys()); map.delete('a') console.log(map.keys());
the chrome console will show the following:
MapIterator {"a", "b", "c", "d", "e"} MapIterator {"c", "d", "e"}
"b" why not show?
俞 常 爽 source share