]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/string-out-of-bounds-negative-proto-value.js
7 String
.prototype[-1] = "hello";
9 for (var i
= 0; i
< 100000; ++i
) {
10 var result
= foo("hello");
11 if (result
!= "hello")
12 throw "Error: bad result: " + result
;