And a third way (also per the ECMAScript specification) through which one can access the prototype of an object is through the constructor property's prorotype property:document.images[0].constructor.prototype.foo = bar;Note though, the above does not yet work in Mozilla.
We have to find out for which versions this "not yet" worked. --Andreas Wuest 17:13, 10 March 2007 (PST)
Page last modified 01:13, 11 Mar 2007 by Andreas Wuest