该文被密码保护。 阅读全文
摘要:
function Person(name,age){ console.log(this) this.names=name; this.age=age; Person.prototype.say=function(){ return this.names+"是xx"; }; this.xx=funct 阅读全文
该文被密码保护。 阅读全文
该文被密码保护。 阅读全文
该文被密码保护。 阅读全文
该文被密码保护。 阅读全文
摘要:
function P(name,age)={ this.names=name; this.age=age; this.run=function(){ return this.name +“是pig”; }; //this.say=say; } var p1=new P(“你”,12) var p2= 阅读全文