摘要: 先看一个例子function User(){}var u1 = new User();console.log(u1.prototype);// undefined 使用对象实例无法访问到prototypeconsole.log(User.prototype);//{},使用构造函数名访问protot... 阅读全文
posted @ 2015-09-25 18:15 踏雪无痕SS 阅读(394) 评论(0) 推荐(0) 编辑