摘要: //js定义对象的几种容易犯的错误function Person() { getName = function (){ console.info(1); }; return this;}//Person.getName();//提示错误:这不是一个函数Person.getName = functio 阅读全文
posted @ 2016-10-26 14:01 舒馨6009 阅读(268) 评论(1) 推荐(0) 编辑