summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/class/newTargetDVG.js
blob: 1f9c7d7fc5b21fefc59e718cb3994636e4730ed2 (plain)
1
2
3
4
5
6
7
function thunk() {
    new.target();
}
assertThrownErrorContains(thunk, "new.target");

if (typeof reportCompare === "function")
    reportCompare(0, 0, "OK");