We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e49ad0 commit 5e7d97fCopy full SHA for 5e7d97f
src/Utility/Polyfills.ts
@@ -1,7 +1,9 @@
1
import * as values from "object.values";
2
import * as entries from "object.entries";
3
4
-(Symbol as any).asyncIterator = Symbol.asyncIterator || Symbol("Symbol.asyncIterator");
+if (!Symbol.asyncIterator) {
5
+ (Symbol as any).asyncIterator = Symbol("Symbol.asyncIterator");
6
+}
7
8
if (!Object.values) {
9
values.shim();
0 commit comments