Skip to content

Commit e1ffbae

Browse files
committed
fix #236, #237
1 parent fc1134c commit e1ffbae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/_iter-define.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE
3030
var VALUES_BUG = false;
3131
var proto = Base.prototype;
3232
var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
33-
var $default = $native || getMethod(DEFAULT);
33+
var $default = (!BUGGY && $native) || getMethod(DEFAULT);
3434
var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
3535
var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
3636
var methods, key, IteratorPrototype;

0 commit comments

Comments
 (0)