You'll set a prototype instance variable to point to the parent in the inheritance chain.
方法是设置 prototype 实例变量使其指向继承链的父。
If two Entities are connected via an inheritance chain or an Association, they are said to be connected.
如果两个实体通过一个继承链或是Association连接起来,我们就称其为连接的。
Copies members from the base class to the prototype associated with the derived class, and continues this process up the inheritance chain.
将成员从基类复制到与派生类相关联的原型,并沿继承链向上继续执行此过程。
应用推荐