摘要: Object.prototype.say=function(){ alert("我是顶层的方法"); } children.prototype=new parent(); parent.prototype.say=function(){ alert('我是父类原型'); } function par 阅读全文
posted @ 2015-11-11 17:54 羯瑞 阅读(243) 评论(0) 推荐(0)