Alternative für Lodash weglassen in JavaScript
const omitSingle = (key, { [key]: _, ...obj }) => obj
const profile = { name: 'Maria', age: 30 }
const result = omitSingle('name', profile)
console.log(result)
Helpless Hamerkop