注:本文仅以 双色球 作为案例进行演示。...array[randomIndex] = temporaryValue;
}
return array;
}
// 福彩双色球...'6','11','21','25','26','5','9','7','33','22','13','28','4','24','16','23','10','17']);
// 随机生成...;
for (var fcLenth=0;fcLenth<6;fcLenth++){
// 随机取出 6 个 红球,且小于 10 的前面补 0...0+new_arr_fcRed[rn] : new_arr_fcRed[rn];
// 删除以取出的红球,防止重复取球
new_arr_fcRed.splice