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/internals/create-iterator-constructor.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PAMapp/node_modules/core-js/internals/create-iterator-constructor.js b/PAMapp/node_modules/core-js/internals/create-iterator-constructor.js index f9dbdb7..e519c9f 100644 --- a/PAMapp/node_modules/core-js/internals/create-iterator-constructor.js +++ b/PAMapp/node_modules/core-js/internals/create-iterator-constructor.js @@ -7,9 +7,9 @@ var returnThis = function () { return this; }; -module.exports = function (IteratorConstructor, NAME, next) { +module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); Iterators[TO_STRING_TAG] = returnThis; return IteratorConstructor; -- Gitblit v1.8.0