摘要: 利用原型prototype创建自定义对象Person:function Person(name,sex){ this.name = name; this.sex = sex;}Person.prototype = { getName:function(){return this.n... 阅读全文
posted @ 2014-10-11 20:41 苜冉冉 阅读(142) 评论(0) 推荐(0) 编辑