首页 > 代码库 > 循环定义数组

循环定义数组

 

var shuzu=new array();for(var i=0;i<100;i++){shuzu[i]=i;}
var header = 330;            var aTop = new array();            for (var i = 2; i <= iPagerCount+2; i++) {                aTop[i] = widths * (i - 1) + header;            }            aTop[0] = 0;            aTop[1] = header;

 

循环定义数组