summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/newTargetOSR.js
blob: b90e96cf1b330739d37db12dcea56d068c10e04c (plain)
1
2
3
4
5
6
function testOSRNewTarget(expected) {
    for (let i = 0; i < 1100; i++)
        assertEq(new.target, expected);
}

new testOSRNewTarget(testOSRNewTarget);