摘要: 原型(prototype) 1.1访问原型的方法function human () {}human.prototype.name = "people"human.prototype.sayname = function(){console.log(this.name);} var jack = n... 阅读全文
posted @ 2015-06-30 23:24 ChenRJ 阅读(164) 评论(0) 推荐(0) 编辑