From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:48:15 +0800 Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改 --- PAMapp/node_modules/core-js/es/instance/copy-within.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/es/instance/copy-within.js b/PAMapp/node_modules/core-js/es/instance/copy-within.js index c59f52d..e8f22c4 100644 --- a/PAMapp/node_modules/core-js/es/instance/copy-within.js +++ b/PAMapp/node_modules/core-js/es/instance/copy-within.js @@ -1,8 +1,9 @@ -var copyWithin = require('../array/virtual/copy-within'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/copy-within'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.copyWithin; - return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.copyWithin) ? copyWithin : own; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.copyWithin) ? method : own; }; -- Gitblit v1.8.0