summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1763501.js
blob: 72ce59903b5fc4e1268ce599ec610eb66cc098b9 (plain)
1
2
3
4
5
6
function test(expected) {
  with ({}) assertEq(new.target, expected);
}

test(undefined);
new test(test);