Home JS遍历Map
Post
Cancel

JS遍历Map

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