map-helpers.js 412 B

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