1 2 3 4 5 6 7
function thunk() { new.target(); } assertThrownErrorContains(thunk, "new.target"); if (typeof reportCompare === "function") reportCompare(0, 0, "OK");