After looking Douglas Crockford's talks about javascript, I started experimenting to really understand javascript's prototype. If you have downloaded the presentation's
slides, this is an illustration of slide 27. I've worked with the javascript interpreter included in the JDK6, based on
Rhino. If you do this, just run $JAVA_HOME/bin/jrunscript and you get a prompt of the javascript interpreter.
Each javascript function is given a prototype member when it is created.