Destructuring allows you to unpack values from arrays or objects in a breeze. Here's an example:
const person = { name: 'Alice’, age: 30 }; const { name, age } = person; console.log(name); // Output: Alice console.log(age); // Output: 30