I'm having a naming trouble with a function which returns parent prototype of specified object. It's being used like this:
# Pseudo Code MyClass { super(MyClass,this).constructor.call(....
As the title (sort of) explains, when I'm prototyping in JS, and I need to reference another function of the object, should I access the protoypal version of it, or the ...
I'd like to extend Function.prototype with a custom method:
Function.prototype.myMethod = function() { var fn = this; var owner = ???; /** ... */ };
this