summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1264561.js
blob: b5cc40bb224a9756372f68de81f133ac8c9e20e8 (plain)
1
2
3
4
5
6
var r = RegExp("");
var s = "";
s += "".replace(r, Function("x"));
for (var x = 0; x < 5; x++) {
    s += "".replace(r, this);
}