Разгрузить JS объект

    //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
Unusual Unicorn