js构造函数传参 1.直接传参并用this关键字初始化属性 function Person(name,age,learn){ this.name = name; this.age = age; this.learn = … 继续阅读 js构造函数传参