Desative uma função JavaScript

function myFunction() {}
myFunction = ""
Otoniel Costa Oliveira