]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/to-string-on-value-or-string.js
7 for (var i
= 0; i
< 100000; ++i
) {
9 if (typeof result
!= "string") {
11 throw "Error: result isn't a string";
14 throw "Error: bad result: " + result
;
16 result
= foo("world");
17 if (typeof result
!= "string") {
19 throw "Error: result isn't a string";
21 if (result
!= "world")
22 throw "Error: bad result: " + result
;