摘要:
getRondom (arr, len) { var out = [] while (len) { var index = Math.floor(Math.random() * arr.length) if (out.includes(index)) { } else { arr.splice(index, 1) out = out.concat(index) len-- } } return o 阅读全文
posted @ 2019-10-27 19:00
you1you
阅读(1487)
评论(0)
推荐(0)
浙公网安备 33010602011771号