From 26a09f08cf1ed43c640879f23fdad56c5c9282f7 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:02:38 +0800
Subject: [PATCH] TODO#139884 Banner 1 文案調整

---
 PAMapp/node_modules/core-js/internals/array-group-by.js |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/PAMapp/node_modules/core-js/internals/array-group-by.js b/PAMapp/node_modules/core-js/internals/array-group-by.js
index 1df3882..9a53102 100644
--- a/PAMapp/node_modules/core-js/internals/array-group-by.js
+++ b/PAMapp/node_modules/core-js/internals/array-group-by.js
@@ -1,4 +1,6 @@
+var global = require('../internals/global');
 var bind = require('../internals/function-bind-context');
+var uncurryThis = require('../internals/function-uncurry-this');
 var IndexedObject = require('../internals/indexed-object');
 var toObject = require('../internals/to-object');
 var toPropertyKey = require('../internals/to-property-key');
@@ -6,12 +8,13 @@
 var objectCreate = require('../internals/object-create');
 var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');
 
-var push = [].push;
+var Array = global.Array;
+var push = uncurryThis([].push);
 
 module.exports = function ($this, callbackfn, that, specificConstructor) {
   var O = toObject($this);
   var self = IndexedObject(O);
-  var boundFunction = bind(callbackfn, that, 3);
+  var boundFunction = bind(callbackfn, that);
   var target = objectCreate(null);
   var length = lengthOfArrayLike(self);
   var index = 0;
@@ -21,9 +24,10 @@
     key = toPropertyKey(boundFunction(value, index, O));
     // in some IE10 builds, `hasOwnProperty` returns incorrect result on integer keys
     // but since it's a `null` prototype object, we can safely use `in`
-    if (key in target) push.call(target[key], value);
+    if (key in target) push(target[key], value);
     else target[key] = [value];
   }
+  // TODO: Remove this block from `core-js@4`
   if (specificConstructor) {
     Constructor = specificConstructor(O);
     if (Constructor !== Array) {

--
Gitblit v1.8.0