const _getUniqueNums = (start,end,n) => { // 补全代码 let arr = []; while(n){ let item = Math.ceil(Math.random()*(end-start)+start) if(!arr.includes(item)){ arr.push(item); n--; } } return arr }