Use the delete Keyword to Remove Object Properties Test issues

Tell us what’s happening:
Well seeing my code (I mixed up the test cases as I was reading them) and the second test case (The oranges , plums , and strawberries keys are removed using delete) passes as correct when it obviously isn’t since I’ve deleted only strawberries from that test so basically I’m thinking there is an issue with the test cases.

Your code so far


let foods = {
  apples: 25,
  oranges: 32,
  plums: 28,
  bananas: 13,
  grapes: 35,
  strawberries: 27
};

// change code below this line
delete foods.apples;
delete foods.grapes;
delete foods.strawberries;
// change code above this line

console.log(foods);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/use-the-delete-keyword-to-remove-object-properties

I reset the challenge and ran it with no code added and that test passed. I think you’re right.
-J

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.