JS对象和原型以及构造函数

function person(firstname,lastname,age,eyecolor)    {     this.firstname=firstname;     this.lastname=lastname;     this.age=age;     this.eyecolor=eyecolor;     this.changeName=cN;     function cN(na
相关文章
相关标签/搜索