Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Dec 28, 2024
1 parent 2b0fc5e commit 4bcc288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compat/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ GLOBAL.tests = {
return PROTOTYPE_SETTING_AVAILABLE &&
(typeof DOMException != 'function' || Error.isError(new DOMException('DOMException'))) &&
Error.isError(new Error('Error', { cause: function () { /* empty */ } })) &&
Error.isError(Object.create(Error.prototype));
!Error.isError(Object.create(Error.prototype));
},
'esnext.function.demethodize': function () {
return Function.prototype.demethodize;
Expand Down

0 comments on commit 4bcc288

Please sign in to comment.