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/stable/instance/values.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/PAMapp/node_modules/core-js/stable/instance/values.js b/PAMapp/node_modules/core-js/stable/instance/values.js index 9dde23c..4b5f850 100644 --- a/PAMapp/node_modules/core-js/stable/instance/values.js +++ b/PAMapp/node_modules/core-js/stable/instance/values.js @@ -1,6 +1,9 @@ require('../../modules/web.dom-collections.iterator'); -var values = require('../array/virtual/values'); var classof = require('../../internals/classof'); +var hasOwn = require('../../internals/has-own-property'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/values'); + var ArrayPrototype = Array.prototype; var DOMIterables = { @@ -10,7 +13,6 @@ module.exports = function (it) { var own = it.values; - return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.values) - // eslint-disable-next-line no-prototype-builtins -- safe - || DOMIterables.hasOwnProperty(classof(it)) ? values : own; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values) + || hasOwn(DOMIterables, classof(it)) ? method : own; }; -- Gitblit v1.8.0