Cool! Another great example for rest usage is when you want to create a new object based on a existing one while excluding specific properties: const {password, ...userWithoutPassword} = user;
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool! Another great example for rest usage is when you want to create a new object based on a existing one while excluding specific properties:
const {password, ...userWithoutPassword} = user
;