/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
delete myObject.property_name; delete myObject['property_name'];
URL: http://stackoverflow.com/questions/208105/how-to-remove-a-property-from-a-javascript-object