Update test/built-ins/eval/no-construct.js

This commit is contained in:
Leo Balter 2021-07-21 12:39:43 -07:00 committed by Rick Waldron
parent a6a06d263a
commit ae0cf675bf
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ description: >
try { try {
new eval(); new eval();
throw new Test262Error('#1.1: new eval() throw TypeError. Actual: ' + (new eval()));
} catch (e) { } catch (e) {
if ((e instanceof TypeError) !== true) { if ((e instanceof TypeError) !== true) {
throw new Test262Error('#1.2: new eval() throw TypeError. Actual: ' + (e)); throw new Test262Error('#1.2: new eval() throw TypeError. Actual: ' + (e));