title: javascript add prototype method to all functions?
body: <p>Is there a way to add a method to all javascript functions without using the prototype library?</p>
  
  <p>something along the lines of :</p>
  
  <pre><code>Function.prototype.methodName = function(){ 
  
  
    return dowhateverto(this) 
  
   };
  </code></pre>
  
  <p>this is what i tried so far but it didnt work. Perhaps it is a bad idea also if so could you please tell me why?</p>
  
  <p>if so can I  add it to a set of functions i choose </p>
  
  <p>something like :</p>
  
  <pre><code>MyFunctions.prototype.methodName = function(){ 
  
  
    return dowhateverto(this) 
  
   };
  </code></pre>
  
  <p>where MyFunctions is an array of function names</p>
  
  <p>thank you</p>