开发者

Resources about the Javascript object model?

开发者 https://www.devze.com 2022-12-15 04:40 出处:网络
I am looking for a good resource (comprehensive yet terse) that explains the Javascript object model: prototype, constructor, Function, Object, etc.

I am looking for a good resource (comprehensive yet terse) that explains the Javascript object model: prototype, constructor, Function, Object, etc.

Surprisingly the开发者_如何学Pythonre aren't many resources out there that discuss this issue. The best I found, so far, is this: http://www.mollypages.org/misc/js.mp

Anyone familiar with other (hopefully better) explanations?


I rate book "Javascript:The Good Parts" by douglas Crockford as one of the best for understanding Javascript model and its nuances.

Online you may find this helpful too. http://kevlindev.com/tutorials/javascript/inheritance/index.htm http://www.packtpub.com/article/using-prototype-property-in-javascript

Hope it helps.


I'm not exactly sure what you mean by Javascript object model, but if it's inheritance you're after, here's a nice overview by Joost Diepenmaat, which includes few helpful diagrams. There's also a decent article on this subject by Andrea Giammarchi.


www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf

0

精彩评论

暂无评论...
验证码 换一张
取 消