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/modules/es.array.slice.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/es.array.slice.js b/PAMapp/node_modules/core-js/modules/es.array.slice.js index 866e7f7..287b1ec 100644 --- a/PAMapp/node_modules/core-js/modules/es.array.slice.js +++ b/PAMapp/node_modules/core-js/modules/es.array.slice.js @@ -1,5 +1,6 @@ 'use strict'; var $ = require('../internals/export'); +var global = require('../internals/global'); var isArray = require('../internals/is-array'); var isConstructor = require('../internals/is-constructor'); var isObject = require('../internals/is-object'); @@ -9,11 +10,12 @@ var createProperty = require('../internals/create-property'); var wellKnownSymbol = require('../internals/well-known-symbol'); var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support'); +var un$Slice = require('../internals/array-slice'); var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); var SPECIES = wellKnownSymbol('species'); -var nativeSlice = [].slice; +var Array = global.Array; var max = Math.max; // `Array.prototype.slice` method @@ -37,7 +39,7 @@ if (Constructor === null) Constructor = undefined; } if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); + return un$Slice(O, k, fin); } } result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); -- Gitblit v1.8.0