You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
244 B
8 lines
244 B
4 years ago
|
var IS_PURE = require('../internals/is-pure');
|
||
|
var getIterator = require('../internals/get-iterator');
|
||
|
|
||
|
module.exports = IS_PURE ? getIterator : function (it) {
|
||
|
// eslint-disable-next-line no-undef
|
||
|
return Map.prototype.entries.call(it);
|
||
|
};
|