Answers for "Unload js object"

0

Unload js object

//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
Posted by: Guest on August-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language