2016年2月18日
摘要: 在js中任何对象都拥有prototype属性,解释为:返回对象类型原型的引用。 prototype可以将其他属性方法克隆下来。 function A(){ this.name = "A"; this.say=function(){ alert("I am "+this.name); } } func 阅读全文
posted @ 2016-02-18 10:32 熏风 阅读(158) 评论(0) 推荐(0) 编辑