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.
2 parents e1b4a3d + 8eeb0df commit d99a160Copy full SHA for d99a160
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