js遍历map

//火狐控制台打印输出: Object { fileNumber="文件编号", fileName="文件名称"}
console.log(map);
 
for(var key in map){
  console.log("属性:" + key + ",值:" + map[key]);
}

 

posted @ 2017-05-12 09:39  路迢迢  阅读(115086)  评论(0编辑  收藏  举报