js操作Map
问题:
1.js(javascript)如何读取Map
解答:
1.
1 for (var key in map) { 2 alert(key); 3 alert(map[key]); 4 }
-----
@cobble HF.AH.CHN 2013-04-10
资料1:http://blog.csdn.net/jbgtwang/article/details/6590889
js操作Map
问题:
1.js(javascript)如何读取Map
解答:
1.
1 for (var key in map) { 2 alert(key); 3 alert(map[key]); 4 }
-----
@cobble HF.AH.CHN 2013-04-10
资料1:http://blog.csdn.net/jbgtwang/article/details/6590889