JavaScript handler.deleteProperty() MethodThe handler.deleteProperty() method used to remove the property entirely using the delete operator. This method returns true if the delete was successful. SyntaxParametersTarget: The target object. Property: The name of the property to delete. Return valueThis method returns a Boolean value. It indicates that property successfully deletes or not. Browser Support
Example 1Test it NowOutput: Called: abc Example 2Test it NowOutput: In delete Property undefined Example 3Test it NowOutput: true false true Next TopicJavaScript handler |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India