Javatpoint Logo
Javatpoint Logo

JavaScript handler.deleteProperty() Method

The handler.deleteProperty() method used to remove the property entirely using the delete operator. This method returns true if the delete was successful.



Target: The target object.

Property: The name of the property to delete.

Return value

This method returns a Boolean value. It indicates that property successfully deletes or not.

Browser Support

Chrome 49
Edge 12
Firefox 18
Opera 36

Example 1

Test it Now


Called: abc

Example 2

Test it Now


In delete Property undefined 

Example 3

Test it Now


true false true

Next TopicJavaScript handler

Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA