// test getthispropvarexpected="22,22,22,;33,33,33,;";varactual='';functionf(){for(vari=0;i<3;++i){actual+=this.b+',';}actual+=';';}functionA(){this.a=11;this.b=22;};A.prototype.f=f;functionB(){this.b=33;this.c=44;};B.prototype.f=f;newA().f();newB().f();assertEq(actual,expected);