javascritp封装的类似java HashMap的类var map new Map()map.put(lynn,25)map.put(min,24)ma
javascritp封装的类似java HashMap的类
var map = new Map();map.put("lynn","25");map.put("min","24");map.put("min1",0);map.remove("min");var arr = map.toArray();for(var i in arr){alert(map.get(i));}