set-helpers.js 388 B

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