1
2
3
4
console.log(map);
for(var key in map){
console.log("属性:" + key + ",值:" + map[key]);
}
Post
Cancel
JS遍历Map
This post is licensed under
CC BY 4.0
by the author.