Easiest (simple) explanation of "prototype" in JavaScript?

Posted by alexeypro on Stack Overflow See other posts from Stack Overflow or by alexeypro
Published on 2010-04-27T03:55:43Z Indexed on 2010/04/27 4:13 UTC
Read the original article Hit count: 361

Hello,

Can somebody give me a resource (or just explanation? :-) of what "prototype" is and how it works in Javascript. May be comparison with something in Java? (not really necessary). But it should be as simple/easy as possible so inexperienced person just learning Javascript would understand (need to explain this to jr designer who is proficient with CSS/HTML, but not with Javascript).

Thank you!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype