|
|
|
|
|
by 38leinad
4799 days ago
|
|
I never find an answer to my most daunting question: how is the pattern for doing something like a super call in this prototypal model?
bar.prototype.methodname? what if the method is only defined in the proto-prototype? I.e. Foo? Do I then have to explictly know this and write bar.prototype.prototype.methodname? I hope you know what I mean. This concept of super-calls does not transfer well to prototypal inheritance for me. Are there other patterns that should be used instead? |
|