is it possible to inherit an Object (reference) value from a class?
function A()
{
this.x = {};
}
function B()
{
this.y = {};
}
B.prototype = new A();
//...
var b1 = new B();
var b2 = new B();
alert(b1.x == b2.x); // true
alert(b1.y == b2.y); // false
but I want both to be false... B.x should be different for each instance of B.