set-helpers.js 428 B

123456789101112131415
  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. $has: SetPrototype.has,
  12. $keys: SetPrototype.keys
  13. };