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 e1b4a3d commit 8eeb0dfCopy full SHA for 8eeb0df
src/isIterable.js
@@ -1,6 +1,6 @@
1
import _ from 'lodash';
2
3
-const ITERATOR_SYMBOL = _.isFunction(Symbol) && Symbol.iterator;
+const ITERATOR_SYMBOL = typeof Symbol !== 'undefined' && _.isFunction(Symbol) && Symbol.iterator;
4
const OLD_ITERATOR_SYMBOL = '@@iterator';
5
6
/**
0 commit comments