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-last-index-of.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/internals/array-last-index-of.js b/PAMapp/node_modules/core-js/internals/array-last-index-of.js index 7b1ceee..de8225d 100644 --- a/PAMapp/node_modules/core-js/internals/array-last-index-of.js +++ b/PAMapp/node_modules/core-js/internals/array-last-index-of.js @@ -1,5 +1,6 @@ 'use strict'; -/* eslint-disable es/no-array-prototype-lastindexof -- safe */ +/* eslint-disable es-x/no-array-prototype-lastindexof -- safe */ +var apply = require('../internals/function-apply'); var toIndexedObject = require('../internals/to-indexed-object'); var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); var lengthOfArrayLike = require('../internals/length-of-array-like'); @@ -15,7 +16,7 @@ // https://tc39.es/ecma262/#sec-array.prototype.lastindexof module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 - if (NEGATIVE_ZERO) return $lastIndexOf.apply(this, arguments) || 0; + if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0; var O = toIndexedObject(this); var length = lengthOfArrayLike(O); var index = length - 1; -- Gitblit v1.8.0