javascript - Remove a function along with all callbacks/functions in it -
is there way remove function , remove callbacks/functions inside of it?
example:
var myfunction = function() { thisfunctionhasacallback(function() { alert( "i called!" ); }); }; myfunction(); myfunction = undefined;
even if unset myfunction
, callback thisfunctionhasacallback
still activate when called.
Comments
Post a Comment