const user = { id: 1, name: 'Marcus', group: 'admin' } const { ['group']: group, ...userWithoutGroup } = user console.log(userWithoutGroup) // { id: 1, name: 'Marcus' }