summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/bug1015766.js
blob: e76aff7c7a95d72f3f25c3c84bcd5d73c64a0b9e (plain)
1
2
3
4
5
6
7
8
9
10
gczeal(8, 2)
try {
    [new String, y]
} catch (e) {}
r = /()/
try {
    "".replace(r, () => {
	[]()
    });
} catch(e) {}