On Thu, 6 Nov 2008 02:19:06 am Mads Sig Ager wrote: > Hi Anthony, > > if you want to modify the prototype of an existing object, you are > looking for the __proto__ accessor: > > c.__proto__ = p; > > Assigning to 'prototype' just creates a normal property called > 'prototype' but does not change the prototype chain. > > -- Mads
Is this standard Javascript or a quirk of the V8 implementation? -- Anthony Shipman Mamas don't let your babies [EMAIL PROTECTED] grow up to be outsourced. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
