Home>Object Destructuring in JavaScript>Edit It: Swap the given variables' valuesEdit It: Swap the given variables' valuesThis code shows how to swap variables' values while destructuring an object.See it on StackBlitz