const swap = (a, b) => { a = a ^ b b = a ^ b a = a ^ b }
const swap = (a, b) => { [a, b] = [b, a] }
最后更新于2年前