Tip: JavaScript's spread syntax is also handy for creating a copy of an...
Tip: JavaScript's spread syntax is also handy for creating a copy of an object with a property omitted:
const { address, ...userWithoutAddress } = user;
Destructuring address means userWithoutAddress is a copy of the user object without the address property.
#javascript