摘要: /** * Created by cyk on 14-4-17. */function Person() { var temp = this; //this指向Person console.log("here"); return new Person.prototype.init();}Person.prototype = { constructor: Person, //这种方式覆盖了Perso... 阅读全文
posted @ 2014-04-18 16:12 砺能 阅读(189) 评论(0) 推荐(0) 编辑