Geek Speak — HabitableZone

Geek Speak » in reply to Knock knock

Code sample 2, formatted

Ya want multiple inheritance? You got it:
function Class3()
{
this.base1 = Class1;
this.base1(); // run Class1 constructor
this.base2 = Class2;
this.base2(); // run Class2 constructor
}
Class3 has members foo and bar.

Log in or register to post.

The whole thread (16 posts)