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.async-iterator.drop.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/modules/esnext.async-iterator.drop.js b/PAMapp/node_modules/core-js/modules/esnext.async-iterator.drop.js index f96da67..76ab431 100644 --- a/PAMapp/node_modules/core-js/modules/esnext.async-iterator.drop.js +++ b/PAMapp/node_modules/core-js/modules/esnext.async-iterator.drop.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 anObject = require('../internals/an-object'); var toPositiveInteger = require('../internals/to-positive-integer'); var createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy'); @@ -12,7 +13,7 @@ var loop = function () { try { Promise.resolve( - anObject(state.next.apply(state.iterator, state.remaining ? [] : args)) + anObject(apply(state.next, state.iterator, state.remaining ? [] : args)) ).then(function (step) { try { if (anObject(step).done) { @@ -31,7 +32,7 @@ }); }); -$({ target: 'AsyncIterator', proto: true, real: true }, { +$({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { drop: function drop(limit) { return new AsyncIteratorProxy({ iterator: anObject(this), -- Gitblit v1.8.0