[quote]Object.defineProperty(Function.prototype, "Source", {
get: function(){
return /{([\s\S]+)}/.exec(this.toString())[1];
}
});[/quote]Magic.
I seem to have posted this in the wrong place...
-
Now can you get it to return the arguments that were past to the function?