摘要: Although using the object constructor or an object literal are convenient ways to create single objects, there is an obvious downside: creating mult... 阅读全文
posted @ 2015-05-08 20:57 林大勇 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Prototype Chaining Recall the relationship between consructors, prototypes and instances: each constructor has a prototype object that points back to... 阅读全文
posted @ 2015-05-08 17:39 林大勇 阅读(341) 评论(0) 推荐(0) 编辑
摘要: ECMAScript variables may contains two different types of data: primitive values and reference values. Primitive values are simple atomic pieces of d... 阅读全文
posted @ 2015-05-08 14:00 林大勇 阅读(150) 评论(0) 推荐(0) 编辑