摘要: var all = 21; var people = [0,0,0,0,0]; for(var i=1;i0){ people[start]++; all--; start--; if (start<=0) {start = people.length-1}; } alert(people[people.length-1]) 阅读全文
posted @ 2016-09-01 13:54 hjr_rong 阅读(309) 评论(0) 推荐(0)