开发者

good online source or book to understand prototype properties of javascript [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_开发百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

I want to create a class with javascript and I come across with prototype.

I tried to google it and still I don't seems to understand it well.

Anyone have read any nice online source or books that talk about it?


googled it, found some good articles:

http://particletree.com/features/javascript-basics-for-prototyping

http://www.prodevtips.com/2008/10/23/prototyping-with-javascript

http://www.southsearepublic.org/article/1174/read/object_oriented_javascript__prototyping


  • JavaScript Garden (online)
  • JavaScript: The Good Parts (book)
  • JavaScript Patterns (book)


The Good parts by Douglas Crockford and JavaScript patterns by Stoyan Stevanov


There are many good javascript books. I would suggest,

  1. Pro Javascript Techniques - John Resig
  2. Javascript: The Good Parts - Douglas Crockford

And as for online sources, there is none better and comprehensive than Mozilla's Developer Network.

Here is the section on object.prototype by MDN

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜