get-map-iterator.js 253 B

1234567
  1. var IS_PURE = require('../internals/is-pure');
  2. var getIterator = require('../internals/get-iterator');
  3. module.exports = IS_PURE ? getIterator : function (it) {
  4. // eslint-disable-next-line es/no-map -- safe
  5. return Map.prototype.entries.call(it);
  6. };