Tell us what’s happening:
The program show me Error message:
You should not modify the myDog
setup.
What can be done? It seems like everything should be perfectly fine – it match perfectly video setup, and I already try to clean cash and cookies. Also I try to reset this lesson. nothing helps.
Your code so far
// Setup
var myDog = {
"name": "Happy Coder",
"legs": 4,
"tails": 1,
"friends": ["freeCodeCamp Campers"],
"bark": "woof"
};
// Only change code below this line
delete myDog.tails;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Delete Properties from a JavaScript Object
Link to the challenge: