Slide 63
Slide 63 text
63
Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
Copyright (C) DeNA Co.,Ltd. All Rights Reserved.
let xs = [1, 2, 3, 4, 5]
xs.shuffled() // [4, 5, 1, 2, 3]
var ys = xs
ys.shuffle()
print(ys) // [3, 5, 4, 2, 1]
ྻΛγϟοϑϧ
Random Unification SE-0202
৽͍͠ྻΛฦ͢TIV⒐FE
Swift 4.2