function house(rm, stl,but, hag)
{
this.length = 5;
this.rooms = rm;
this.style = stl;
this.built = but;
this.hasgarge = hag;
function house.prototype.show()
{
for (a in this)
{
document.write("<br>Property <b>" + a + "</b> is <b>" + eval("this."+a) + "</b>");
}
}
}
var hh = new house(8, "europe", 1996, true);
hh.show();
{
this.length = 5;
this.rooms = rm;
this.style = stl;
this.built = but;
this.hasgarge = hag;
function house.prototype.show()
{
for (a in this)
{
document.write("<br>Property <b>" + a + "</b> is <b>" + eval("this."+a) + "</b>");
}
}
}
var hh = new house(8, "europe", 1996, true);
hh.show();
{
this.length = 5;
this.rooms = rm;
this.style = stl;
this.built = but;
this.hasgarge = hag;
function house.prototype.show()
{
for (a in this)
{
tmpValue = eval("this."+a);
if(typeof(tmpValue)!="function")document.write("<br>Property <b>" + a + "</b> is <b>" + tmpValue + "</b>");
}
}
}
var hh = new house(8, "europe", 1996, true);
hh.show();