Is there a way to add a method to all javascript functions without using the prototype library?
something along the lines of :
Function.prototype.methodN
function one(){ alert(1); } function two(){ alert(2); } var myFunctionNames = ["one", "two"]; for(var i=0; i