What is the purpose of `delete` operator on object properties?

JavaScript Professional Easy

JavaScript Professional — Easy

What is the purpose of `delete` operator on object properties?

Key points

  • `delete` removes the property and its value
  • It does not set the property value to undefined
  • It does not make the property read-only

Ready to go further?

Related questions