⬅️ JavaScript 🔗 Stack Overflow use the delete keyword var obj = { myProperty: 1 } console.log(obj.hasOwnProperty('myProperty')) // true delete obj.myProperty console.log(obj.hasOwnProperty('myProperty')) // false or with destructuring const { a, ...rest } = { a: 1, b: 2, c: 3 };