
Destructuring extracts values from arrays or objects into variables in one clean line. Array: const [first, second] = ['a', 'b'];. Object: const { name, age } = user;. This eliminates repetitive user.name, user.age references and is used constantly in modern JavaScript, especially with React and API responses.
Reference:
TaskLoco™ — The Sticky Note GOAT