This commit is contained in:
Leo Balter 2019-06-03 17:37:44 -04:00 committed by Rick Waldron
parent 62477ea0c9
commit 16e9389b01
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Object.defineProperty(newTarget, 'prototype', {
});
assert.throws(Test262Error, function() {
Reflect.construct(FinalizationGroup, [{}], newTarget);
Reflect.construct(FinalizationGroup, [function() {}], newTarget);
});
assert.sameValue(calls, 1);