Posted By

tclancy on 10/10/09


Tagged


Versions (?)

Remove Property from JavaScript Object


 / Published in: JavaScript
 

URL: http://stackoverflow.com/questions/208105/how-to-remove-a-property-from-a-javascript-object

  1. delete myObject.property_name;
  2. delete myObject['property_name'];

Report this snippet  

You need to login to post a comment.