Delete Properties

You can delete properties of an object using the Delete operator:

delete customer.name

See delete.

See Access Object Properties.