Usuń klucz z OBJ i zapisz w diff OBJ
const user = { id: 1, name: 'Marcus', group: 'admin' }
const { ['group']: group, ...userWithoutGroup } = user
console.log(userWithoutGroup)
// { id: 1, name: 'Marcus' }
Dhanan Chezhiyan