Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Mar 15, 2024
1 parent f334ef2 commit b581928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/web.url.can-parse.js
Expand Up @@ -17,7 +17,7 @@ var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
// Bun ~ 1.0.30 bug
// https://github.com/oven-sh/bun/issues/9250
var WRONG_ARITY = fails(function () {
return URL.canParse !== 1;
return URL.canParse.length !== 1;
});

// `URL.canParse` method
Expand Down

0 comments on commit b581928

Please sign in to comment.