function shuffle(array) { var i = array.length, j = 0, temp; while (i--) { j ... What you're after is random selection rather than non-repeating random.
確定! 回上一頁