Created
April 4, 2021 03:24
-
-
Save njbmartin/723f1b3ba3ed1e3bb6e1fd28edb299c4 to your computer and use it in GitHub Desktop.
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
const person = { | |
firstName: "Jane", | |
lastName: "Bloggs", | |
email: "jane@example.com", | |
phone: "0123456789" | |
}; | |
console.log(person.email); | |
// expected output: "jane@example.com" | |
delete person.email; | |
console.log(person.email); | |
// expected output: undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment