var aaa = [1, 1, 2, 3, 3,];
var thisAaa;
var count1 = 0;
for (var i = 0; i < aaa.length; i++) {
thisAaa = aaa;
for (var i = 0; i < aaa.length; i++) {
if (thisAaa == aaa) {
count1++;
}
}
alert(thisAaa+"----"+count1);
}
为什么只弹了一次?
biohazard4
蜂之谷
peterJS
相关分类