Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

handler.deleteProperty()

2 tags 1 category

The handler.deleteProperty() method is a trap for the [[Delete]] object internal method, which is used by operations such as the delete operator.

Return value: The deleteProperty() method must return a Boolean indicating whether or not the property has been successfully deleted. Other values are coerced to booleans.

Return value: Many operations, including the delete operator when in strict mode, throw a TypeError if the [[Delete]] internal method returns false.

Parameters: The following parameters are passed to the deleteProperty() method. this is bound to the handler.

Parameters: target The target object. property A string or Symbol representing the property name.

Syntax example: new Proxy(target, {

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…