On Jul 14, 11:03 pm, xavierm02 <[email protected]> wrote:
> Hi,
>
> http://jsbin.com/ejodoq/edithttp://jsbin.com/uqoyep/edithttp://jsbin.com/opinus/edithttp://jsbin.com/ejufih/edit
>
> I was wondering why it would silently fail in the first case and throw an
> error in all the others...
> I thought setting the prototype of a constructor was just like cycling
> through instances and change their __proto__...
>
> PS : I do not plan on usin something like this in any code. I was just
> wondering...

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
>

--
Rob

-- 
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