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
Changing JS built-in objects can give you some surprises. If you add external libraries or changing the version of one of them, you are never sure that they won't overwrite your extension.