摘要: var a = ['a','a','a','b','b','c','c','c','c','a','b','c'];//声明数组var json = {a:0,b:0,c:0};//声明json/** * forEach便利数组 */a.forEach(function(val,index){ js 阅读全文
posted @ 2017-05-25 14:22 余光cc 阅读(197) 评论(3) 推荐(1) 编辑