From 22ebb624a0692d1b8713c2c01518bdc8c98b1a21 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Thu, 22 Mar 2018 20:51:03 +0700 Subject: [PATCH] revert https://github.com/zloirock/core-js/commit/e1ffbae3e18730072be48c828070f455a694aabc because of #368 --- 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 5f616dd5a87b..8f68107d8e9b 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 = (!BUGGY && $native) || getMethod(DEFAULT); + var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype;