title: Javascript delete a function
body: <p>How can I delete a function</p>
  
  <p>i.e</p>
  
  <pre><code>test=true;
  delete test;
  =&gt; true
  
  function test() {..}
  
  delete test()
  =&gt; false
  </code></pre>
  
  <p>Delete usually works for variables but it doesn't work for functions.</p>