📜  javascript原型继承示例 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:04:31.190000             🧑  作者: Mango

代码示例3
function Teacher(first, last, age, gender, interests, subject) {
  Person.call(this, first, last, age, gender, interests);

  this.subject = subject;
}