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/esnext.iterator.map.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/esnext.iterator.map.js b/PAMapp/node_modules/core-js/modules/esnext.iterator.map.js index 2afd915..8db0818 100644 --- a/PAMapp/node_modules/core-js/modules/esnext.iterator.map.js +++ b/PAMapp/node_modules/core-js/modules/esnext.iterator.map.js @@ -1,6 +1,7 @@ 'use strict'; // https://github.com/tc39/proposal-iterator-helpers var $ = require('../internals/export'); +var apply = require('../internals/function-apply'); var aCallable = require('../internals/a-callable'); var anObject = require('../internals/an-object'); var createIteratorProxy = require('../internals/iterator-create-proxy'); @@ -8,12 +9,12 @@ var IteratorProxy = createIteratorProxy(function (args) { var iterator = this.iterator; - var result = anObject(this.next.apply(iterator, args)); + var result = anObject(apply(this.next, iterator, args)); var done = this.done = !!result.done; if (!done) return callWithSafeIterationClosing(iterator, this.mapper, result.value); }); -$({ target: 'Iterator', proto: true, real: true }, { +$({ target: 'Iterator', proto: true, real: true, forced: true }, { map: function map(mapper) { return new IteratorProxy({ iterator: anObject(this), -- Gitblit v1.8.0