mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
fix typo
This commit is contained in:
parent
62477ea0c9
commit
16e9389b01
@ -35,7 +35,7 @@ Object.defineProperty(newTarget, 'prototype', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
assert.throws(Test262Error, function() {
|
assert.throws(Test262Error, function() {
|
||||||
Reflect.construct(FinalizationGroup, [{}], newTarget);
|
Reflect.construct(FinalizationGroup, [function() {}], newTarget);
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.sameValue(calls, 1);
|
assert.sameValue(calls, 1);
|
Loading…
x
Reference in New Issue
Block a user