📅  最后修改于: 2022-03-11 15:01:06.457000             🧑  作者: Mango
//Not sure if this will work, Haven't tested it yet but it makes sense.
function fnc1() {
console.log("I did something")
}
window.fnc1 = null
//or
window["fnc1"] = null
//see the source below