Bootstrap

数组中两个元素交换位置

 
arr[ oneIndex] = [ arr[ twoIndex], arr[ twoIndex] = arr[ oneIndex]][ 0]
更简单的:
let x = 1
let y = 2
[x, y] = [y, x]


;