继承类型链(class-chain)中的属性 继承原型链(prototype-chain)中的属性 "类型定义"指定了该类任何一个实例的所有属性 构建函数或原型指定一组初始化的属性.
基于12个网页-相关网页
因此,该原型链可用于实现继承(在后面讨论)。
Therefore, the prototype chain can be used to implement inheritance, as you'll see later.
返回的属性包括对象的实例属性和它从原型链继承而来的属性。
The returned properties are both those that exist on the object instance and those inherited through its prototype chain.
将成员从基类复制到与派生类相关联的原型,并沿继承链向上继续执行此过程。
Copies members from the base class to the prototype associated with the derived class, and continues this process up the inheritance chain.
应用推荐