js/src/jit-test/tests/basic/testMatchStringObject.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:5e8b54298a42
1 function testMatchStringObject() {
2 var a = new String("foo");
3 var b;
4 for (i = 0; i < 300; i++)
5 b = a.match(/bar/);
6 return b;
7 }
8 assertEq(testMatchStringObject(), null);

mercurial