Kripken wrote: > OK, but that's odd... somewhere internally there must be a reference > from each object to its prototype. We can see this in the way > properties are looked up. But, if we don't store it ourselves, there is > really no way to find out what that prototype is? > > Not that I'm aware of. > > Generally speaking, frameworks for inheritance in JavaScript (e.g., > http://ejohn.org/blog/simple-javascript-inheritance/ ) manually set the > constructor, as part of whatever other setup they do, so that things > work the way people expect.
OK, fair enough. In the last week, I've gone from knowing almost nothing about JavaScript, to thinking I knew everything about it, to realizing that I knew nothing about it, to (now) realizing that what I thought there was to know doesn't actually exist! Thanks, - Joe --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
