On Tue, Jul 19, 2011 at 3:44 AM, RobG <rg...@iinet.net.au> wrote:

>
> Not really worth the effort. __proto__ is deprecated and shouldn't be
> used for anything:
> <URL:
> https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/proto
> >


I guess people will stop using it when there is a replacement that fills the
niche.
Currently, this is the only way to change the prototype of existing objects
(which is probably rarely the right thing to do), and the only way to make a
custom prototype chain on, e.g., Date or Array objects (Object.create
doesn't do that), which can be useful.

/L

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/jsmentors@jsmentors.com/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/jsmentors@googlegroups.com/

To unsubscribe from this group, send email to
jsmentors+unsubscr...@googlegroups.com

Reply via email to