summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testConstructorBail.js
blob: 0cd3397f735c269427a7558f01254ebbe699a131 (plain)
1
2
3
4
function testConstructorBail() {
    for (let i = 0; i < 5; ++i) new Number(/x/);
}
testConstructorBail();