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/modules/es.array.join.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/es.array.join.js b/PAMapp/node_modules/core-js/modules/es.array.join.js index 4ca2894..f065b67 100644 --- a/PAMapp/node_modules/core-js/modules/es.array.join.js +++ b/PAMapp/node_modules/core-js/modules/es.array.join.js @@ -1,10 +1,11 @@ 'use strict'; var $ = require('../internals/export'); +var uncurryThis = require('../internals/function-uncurry-this'); var IndexedObject = require('../internals/indexed-object'); var toIndexedObject = require('../internals/to-indexed-object'); var arrayMethodIsStrict = require('../internals/array-method-is-strict'); -var nativeJoin = [].join; +var un$Join = uncurryThis([].join); var ES3_STRINGS = IndexedObject != Object; var STRICT_METHOD = arrayMethodIsStrict('join', ','); @@ -13,6 +14,6 @@ // https://tc39.es/ecma262/#sec-array.prototype.join $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); + return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator); } }); -- Gitblit v1.8.0