summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug594108.js
blob: 3a250db9f35544a80cf0c742026fe62ccc6d210f (plain)
1
2
3
4
5
6
7
8
var res;
for (var i = 0; i < 10; i++) {
    var re = /a(b)c/;
    var b = (re.exec(""), v = re.exec("abc")) !== null;
    assertEq(v[0], "abc");
    assertEq(v[1], "b");
}