JS将大数组均分给每个小数组的算法
const bigArr = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]const arr = [[],[],[],[],[],[]]; // 定义接收数组const counts = bigArr.length % arr.length; let remains = 0; if(counts === 0){ remains = bigArr.length / arr.length; }else{ remains = parseInt(