js循环css,js中的循环语句可分为三种
js中的循环语句可分为三种:1.while;2.do……while;3.for。while的语法为while (exp) { //statements;}var a=1,b=0;while(a<=1000){if(a%2==0){if(b%20==0){document.write("第"+parseInt(b/20+1)+"行偶数");}document.write(a+" "+" ...