摘要: 想当年搞C++的面向对象时,很多问题只要花一些时间就可以搞定,想的很清楚明白。可是最近搞JavaScript好多问题搞不清楚,会用却搞不清楚很让人不爽。 function Shape(){ this.area = function(){};}function Point(){ this.x = 0; this.y = 0;}var p = new Point;console.log(p.p... 阅读全文
posted @ 2012-02-22 14:34 Jerry Chou 阅读(410) 评论(1) 推荐(0) 编辑