My answer is just like the solving recommendation

Tell us what’s happening:

My answer is just like the solving recommendation and still doesn’t work.

Your code so far


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 6.1; 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:

Hello there.

The code you have is not the same code as what is provided. If you change code you do not need to, the tests will not pass.

Reset the challenge, by pressing the Reset all Code button, and start again.

Hope this helps

1 Like