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/esnext.array.last-item.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/esnext.array.last-item.js b/PAMapp/node_modules/core-js/modules/esnext.array.last-item.js index c5da5d6..9cedec0 100644 --- a/PAMapp/node_modules/core-js/modules/esnext.array.last-item.js +++ b/PAMapp/node_modules/core-js/modules/esnext.array.last-item.js @@ -1,14 +1,15 @@ 'use strict'; +// TODO: Remove from `core-js@4` var DESCRIPTORS = require('../internals/descriptors'); var addToUnscopables = require('../internals/add-to-unscopables'); var toObject = require('../internals/to-object'); var lengthOfArrayLike = require('../internals/length-of-array-like'); -var defineProperty = require('../internals/object-define-property').f; +var defineBuiltInAccessor = require('../internals/define-built-in-accessor'); // `Array.prototype.lastIndex` accessor // https://github.com/keithamus/proposal-array-last -if (DESCRIPTORS && !('lastItem' in [])) { - defineProperty(Array.prototype, 'lastItem', { +if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastItem', { configurable: true, get: function lastItem() { var O = toObject(this); -- Gitblit v1.8.0