I'm not entirely sure there's a 'best way' - it's more of a matter of 
preference in my opinion.

There are some pretty good examples from 
John Resig:
http://ejohn.org/blog/simple-javascript-inheritance/

Douglas Crockford:
http://javascript.crockford.com/prototypal.html

and a slew on your favorite search client.


-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to