]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/to-this-polymorphic.js
7 String
.prototype.f
= 43;
8 String
.prototype.g
= foo
;
9 Number
.prototype.f
= 78;
10 Number
.prototype.g
= foo
;
12 for (var i
= 0; i
< 100000; ++i
) {
16 throw "Error: bad object result: " + result
;
20 throw "Error: bad string result: " + result
;
24 throw "Error: bad number result: " + result
;