Created
November 28, 2020 15:38
-
-
Save Sanchithasharma/2b46a103cb9cc70fd644fe9f4df0b4c8 to your computer and use it in GitHub Desktop.
Delete the Property from an Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var brooklynNineNine = { | |
name: 'Amy Santiago', | |
currentRole: 'Detective brooklyn99', | |
husband: 'Jake Peralta', | |
mentor: 'Raymond Holt' | |
} | |
delete brooklynNineNine.mentor; | |
console.log(brooklynNineNine) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment