var items = ["1","2","3","4","5","6","7","8","9","10","11","12"];
function bigger(){
for(var i=0;i<items.length;i++){
a = [Math.floor(Math.random() * items.length)+1];
scale(a);
}
}
function scale(number){
$("#inner"+number+"").delay(100).transition({scale:1},300);
items.splice(number,1);
}
bigger();
这是我的代码,我尝试删除数字并使用直到完成数组,我想逐个执行