Question:medium

Which JavaScript statement is used to delete the property age from the object person?

Show Hint

To safely check if a property has been removed after using delete, use the in operator: "age" in person will return false if it was successfully deleted.
Updated On: Jun 29, 2026
  • remove age
  • clear person.age
  • delete person.age
  • person.remove (age)
Show Solution

The Correct Option is C

Solution and Explanation

Was this answer helpful?
0