Skip to content

Commit

Permalink
update after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 30, 2023
1 parent fcd493d commit 65397aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core-js/modules/web.structured-clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var IS_PURE = require('../internals/is-pure');
var $ = require('../internals/export');
var global = require('../internals/global');
var getBuiltIn = require('../internals/get-built-in');
var getBuiltInStaticMethod = require('../internals/get-built-in-static-method');
var uncurryThis = require('../internals/function-uncurry-this');
var fails = require('../internals/fails');
var uid = require('../internals/uid');
Expand Down Expand Up @@ -232,7 +233,7 @@ var structuredCloneInternal = function (value, map) {
case 'CompileError':
case 'LinkError':
case 'RuntimeError':
cloned = new (getBuiltIn('WebAssembly', name))();
cloned = new (getBuiltInStaticMethod('WebAssembly', name))();
break;
default:
cloned = new Error();
Expand Down

0 comments on commit 65397aa

Please sign in to comment.