From e1ffbae3e18730072be48c828070f455a694aabc Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Sat, 9 Dec 2017 22:34:30 +0700 Subject: [PATCH] fix #236, #237 --- modules/_iter-define.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/_iter-define.js b/modules/_iter-define.js index 8f68107d8e9b..5f616dd5a87b 100644 --- a/modules/_iter-define.js +++ b/modules/_iter-define.js @@ -30,7 +30,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; - var $default = $native || getMethod(DEFAULT); + var $default = (!BUGGY && $native) || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype;