; <[EMAIL PROTECTED]>
To: "'ToddNY'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 02, 2002 1:22 PM
Subject: RE: [Dynapi-Help] subclassing stuff
> function SubC(a,b,c,d,e){
> var newa = "FooA";
> this.SuperC = SuperC;
function SubC(a,b,c,d,e){
var newa = "FooA";
this.SuperC = SuperC;
this.SuperC(newa,b,c);
}
SubC.prototype = new SuperC([possible_argument_list]);
Note that the argument list might not make sense when subclassing. It
should be taken into consideration already in the SuperC:s constructor,
l
How does subclassing work with arguments[] ???
if I have SuperC(a,b,c)
and I have SubC(a,b,c,d,e) which is derived from SuperC()
Do I need to pass the arguments from SubC() to SuperC() ?
If I want to call SuperC() constructor from SubC() constructor and change an
argument, to it, how do I do it