blob: 59e6febef7fd3c425fb60ff4bbc4e694ca5d8e55 [file] [log] [blame]
// Make sure that we can plumb new.target, even if the results are going to
// throw.
assertThrowsInstanceOf(() => new ""(...Array()), TypeError);
assertThrowsInstanceOf(() => new ""(), TypeError);
assertThrowsInstanceOf(() => new ""(1), TypeError);
if (typeof reportCompare === 'function')
reportCompare(0,0,"OK");