source: node_modules/core-js-pure/internals/is-array-iterator-method.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 375 bytes
Line 
1'use strict';
2var wellKnownSymbol = require('../internals/well-known-symbol');
3var Iterators = require('../internals/iterators');
4
5var ITERATOR = wellKnownSymbol('iterator');
6var ArrayPrototype = Array.prototype;
7
8// check on default Array iterator
9module.exports = function (it) {
10 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
11};
Note: See TracBrowser for help on using the repository browser.