function Obj() {} Obj.prototype.x = 'x' A = new Obj() B = new Obj() alert ( A == B ) A.y = 'y' alert ( B.y )