Home | History | Annotate | Download | only in GetSet

Lines Matching refs:TestObject

106 function TestObject()
109 TestObject.prototype.nameSETS = 0;
110 TestObject.prototype.nameGETS = 0;
111 TestObject.prototype.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;});
112 TestObject.prototype.__defineGetter__('name', function() {this.nameGETS++; return this._name;});
113 TestObject.prototype.name = cnDEFAULT;
115 obj = new TestObject();
139 obj2 = new TestObject();
140 status = 'obj2 = new TestObject() after 1 set, 0 gets';
147 status = 'obj2 = new TestObject() after 2 sets, 1 get';