malaikuangren

What is the purpose or drive to build thing like (xxx),How can it achieve the original goal of design?

2013年1月27日

Understaning Javascript prototype

摘要: http://stackoverflow.com/questions/8093057/javascript-inheritance-and-the-constructor-property/8096017#8096017http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/http://stackoverflow.com/questions/14545210/why-prototype-is-undefinedhttp://stackoverflow.com/questions/4841175/tryin 阅读全文

posted @ 2013-01-27 21:21 malaikuangren 阅读(197) 评论(0) 推荐(0) 编辑
Understaning Javascript OO

摘要: http://killdream.github.com/blog/2011/10/understanding-javascript-oop/index.html(Thanks original writer for this )1. ObjectsEverything you can manipulate in JavaScript is an object. This includesStrings,Arrays,Numbers,Functions, and, obviously, the so-calledObject— there are primitives, but they' 阅读全文

posted @ 2013-01-27 14:28 malaikuangren 阅读(222) 评论(0) 推荐(0) 编辑