Is the following code valid and supported by current implementations ?
function somename() {
this.show = function () { document.write( "somename called") }
}
var somename = new somename();
somename.show()
Note that the class name "somename" is reused for the variable name.
--
Klaus Johannes Rusch
KlausRusch@atme dia.net
Comment