随机打乱数组顺序

it2022-05-05  57

function randomsort(a, b) { return Math.random() > .5 ? -1 : 1; } this.questionArray.sort(randomsort)

最新回复(0)