摘要:
function People(name,age){ this.name = name; this.age = age; this.run = function(){ alert(this.name+'在运动'); } } People.prototype.sex = '男'; People.pro 阅读全文
posted @ 2018-12-20 16:09
BZ易风
阅读(77)
评论(0)
推荐(0)
摘要:
function People(){ this.name='zhangsan'; this.age = 20; this.run = fcuntion(){ alert(this.name+'在运动'); } } //原生链 People.prototype.sex = '男'; People.pr 阅读全文
posted @ 2018-12-20 15:59
BZ易风
阅读(257)
评论(0)
推荐(0)
浙公网安备 33010602011771号