You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mike Byrne edited this page Jan 25, 2022
·
2 revisions
description
Removes all properties from an object, useful in cleaning up when destroying a method
requires
nothing
parameters
none
returns
nothing
example usage:
this.destroy=function(){// remove specific event handlerscontainer.removeEventListener('click',_handleClicks);// remove properties of this behaviorpurgeProperties(this);};