1 | ;
|
2 | var wellKnownSymbol = require('../internals/well-known-symbol');
|
3 | var Iterators = require('../internals/iterators');
|
4 |
|
5 | var ITERATOR = wellKnownSymbol('iterator');
|
6 | var ArrayPrototype = Array.prototype;
|
7 |
|
8 | // check on default Array iterator
|
9 | module.exports = function (it) {
|
10 | return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
|
11 | };
|