Created
May 17, 2025 17:04
-
-
Save davidystephenson/5b9b635d590da1ac6080df4943252e9e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// 6. Declare an object named "employee" with properties "name", "age", and "city". Delete the "city" property from the object. | |
var employee = { | |
name: 'Zelda', | |
age: 40, | |
city: 'New York' | |
} | |
delete employee.city | |
console.log(employee) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment