首页 新闻 会员 周边
3
回答数

待解决问题 JS中原型的问题

function Person() { } Person.prototype.name="tom"; Person.prototype.sayName=function () { alert(this