From 23b60dc1975db38c280d8a123aff97544d1673e0 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:34:21 +0800 Subject: [PATCH] TODO#139890 FAQ 常見問題 1-文案調整 --- PAMapp/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js b/PAMapp/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js index 0ad63d3..d7ae7fd 100644 --- a/PAMapp/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js +++ b/PAMapp/node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js @@ -1,16 +1,17 @@ 'use strict'; // https://github.com/tc39/proposal-iterator-helpers var $ = require('../internals/export'); +var apply = require('../internals/function-apply'); var anObject = require('../internals/an-object'); var createIteratorProxy = require('../internals/iterator-create-proxy'); var IteratorProxy = createIteratorProxy(function (args) { - var result = anObject(this.next.apply(this.iterator, args)); + var result = anObject(apply(this.next, this.iterator, args)); var done = this.done = !!result.done; if (!done) return [this.index++, result.value]; }); -$({ target: 'Iterator', proto: true, real: true }, { +$({ target: 'Iterator', proto: true, real: true, forced: true }, { asIndexedPairs: function asIndexedPairs() { return new IteratorProxy({ iterator: anObject(this), -- Gitblit v1.8.0