summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1379936.js
blob: 61d45bccd110e4667dcb91b702ddda8a6bb02d69 (plain)
1
2
3
4
5
6
assertEq("".replace(/x/), "");
(function () {
    for (var i = 0; i < 2000; ++i) {
        assertEq(/[^]/g.exec("abc")[0], "a");
    }
})()