From 26fa49f4b0aa658d65a21fffe828f39e78302573 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 17:46:58 +0800 Subject: [PATCH] Revert "Update#139889 [ 快速篩選 ] 年資文案調整" --- PAMapp/node_modules/core-js/es/instance/index-of.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/es/instance/index-of.js b/PAMapp/node_modules/core-js/es/instance/index-of.js index a5fa42a..9dc9d04 100644 --- a/PAMapp/node_modules/core-js/es/instance/index-of.js +++ b/PAMapp/node_modules/core-js/es/instance/index-of.js @@ -1,8 +1,9 @@ -var indexOf = require('../array/virtual/index-of'); +var isPrototypeOf = require('../../internals/object-is-prototype-of'); +var method = require('../array/virtual/index-of'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.indexOf; - return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.indexOf) ? indexOf : own; + return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own; }; -- Gitblit v1.8.0