Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How do I remove a property from a JavaScript object?

delete myObject.regex;
// OR
delete myObject['regex'];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #remove #property #JavaScript
ADD COMMENT
Topic
Name
9+8 =