set-helpers.js 374 B

12345678910111213
  1. var uncurryThis = require('../internals/function-uncurry-this');
  2. // eslint-disable-next-line es/no-set -- safe
  3. var SetPrototype = Set.prototype;
  4. module.exports = {
  5. // eslint-disable-next-line es/no-set -- safe
  6. Set: Set,
  7. add: uncurryThis(SetPrototype.add),
  8. has: uncurryThis(SetPrototype.has),
  9. remove: uncurryThis(SetPrototype['delete']),
  10. proto: SetPrototype
  11. };