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/internals/indexed-object.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/internals/indexed-object.js b/PAMapp/node_modules/core-js/internals/indexed-object.js index 17341bc..bcf5530 100644 --- a/PAMapp/node_modules/core-js/internals/indexed-object.js +++ b/PAMapp/node_modules/core-js/internals/indexed-object.js @@ -1,7 +1,10 @@ +var global = require('../internals/global'); +var uncurryThis = require('../internals/function-uncurry-this'); var fails = require('../internals/fails'); var classof = require('../internals/classof-raw'); -var split = ''.split; +var Object = global.Object; +var split = uncurryThis(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings module.exports = fails(function () { @@ -9,5 +12,5 @@ // eslint-disable-next-line no-prototype-builtins -- safe return !Object('z').propertyIsEnumerable(0); }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); + return classof(it) == 'String' ? split(it, '') : Object(it); } : Object; -- Gitblit v1.8.0