摘要: function Person(){}; Person.prototype={ constructor:Person, name:"Nacholas", age:29, friends:{"sun","li"}, sayName:function(){ alert(this.name); } }; 阅读全文
posted @ 2016-03-02 22:47 17shiooo 阅读(129) 评论(0) 推荐(0) 编辑