# Swapping Variables With Destructuring
ES6 Destructuring to the rescue π
Easily swap two variables using ES6 destructing. Itβs a great way to fix #Oscars Best Picture mix-ups π
let oscar = 'La La Land';
let nominee = 'Moonlight';
[oscar, nominee] = [nominee, oscar];
console.log(oscar); // Moonlight
console.log(nominee); // La La Land