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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -