> I was wondering the point of this line when inheriting objects: > > MyObject.prototype = new DynObject(); It's so that any changes to DynObject.prototype at runtime will be reflected in MyObject.prototype > Wouldn't it be better to say: > MyObject.prototype = DynObject.prototype I guess this would only create a pointer, so that changes to MyObject.prototype would affect DynObject.prototype SD _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
- [Dynapi-Dev] Inheritance Robert Rainwater
- Re: [Dynapi-Dev] Inheritance Scott Andrew LePera
- Re: [Dynapi-Dev] Inheritance Brandon Myers
- Re: [Dynapi-Dev] Inheritance Joachim Lundgren
- RE: [Dynapi-Dev] Inheritance Simon Dicon Montford
- RE: [Dynapi-Dev] Inheritance Joachim Lundgren
- RE: [Dynapi-Dev] Inheritance Simon Dicon Montford
- RE: [Dynapi-Dev] Inheritance Brandon Myers
- Re: [Dynapi-Dev] Inheritance Scott Andrew LePera
- RE: [Dynapi-Dev] Inheritance Pascal Bestebroer
- RE: [Dynapi-Dev] Inheritance Brandon Myers
- RE: [Dynapi-Dev] Inheritance Pascal Bestebroer
