15 lines
388 B
JavaScript
15 lines
388 B
JavaScript
|
'use strict';
|
||
|
var uncurryThis = require('../internals/function-uncurry-this');
|
||
|
|
||
|
// eslint-disable-next-line es/no-set -- safe
|
||
|
var SetPrototype = Set.prototype;
|
||
|
|
||
|
module.exports = {
|
||
|
// eslint-disable-next-line es/no-set -- safe
|
||
|
Set: Set,
|
||
|
add: uncurryThis(SetPrototype.add),
|
||
|
has: uncurryThis(SetPrototype.has),
|
||
|
remove: uncurryThis(SetPrototype['delete']),
|
||
|
proto: SetPrototype
|
||
|
};
|