]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/to-string-on-string-object.js
7 for (var i
= 0; i
< 100000; ++i
) {
8 var result
= foo(new String("hello"));
9 if (typeof result
!= "string") {
11 throw "Error: result isn't a string";
13 if (result
!= "hello")
14 throw "Error: bad result: " + result
;