Skip to content

Commit

Permalink
one more fix related to extension of %AsyncIteratorPrototype%
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Sep 8, 2021
1 parent 19f7da9 commit 8776099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (!has(AsyncIteratorPrototype, TO_STRING_TAG)) {
createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator');
}

if (!has(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {
if (IS_PURE || !has(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {
createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor);
}

Expand Down

0 comments on commit 8776099

Please sign in to comment.