debian-mirror-gitlab/core-js/internals/get-set-iterator.js

8 lines
243 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
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 Set.prototype.values.call(it);
};