### Swap values of two variables Use array destructuring to swap values between two variables. ```js [varA, varB] = [varB, varA]; // [x, y] = [y, x] ```