the prototype
Moderator: General Moderators
-
everydayrun
- Forum Commoner
- Posts: 51
- Joined: Wed Jan 20, 2010 1:30 am
the prototype
i want to learn javascript recently,now,there is one concepts i can't understand,which is prototype, in javascript object, i see it show often,and there is also a javascript framwork named prototype. very confused. hope anyone can give me some more datails on the prototype in javascript object
- PHPHorizons
- Forum Contributor
- Posts: 175
- Joined: Mon Sep 14, 2009 11:38 pm
Re: the prototype
JavaScript uses prototype-based inheritance. The Prototype Library is simply named after the style of inheritance JavaScript uses.
I would highly recommend reading the articles on this page here: http://javascript.crockford.com/
Douglas Crockford is a renowned JavaScript expert and has a series of articles about JavaScript inheritance geared towards beginners.
Good luck!
I would highly recommend reading the articles on this page here: http://javascript.crockford.com/
Douglas Crockford is a renowned JavaScript expert and has a series of articles about JavaScript inheritance geared towards beginners.
Good luck!