map-helpers.js 308 B

1234567891011121314
  1. 'use strict';
  2. var getBuiltIn = require('../internals/get-built-in');
  3. var caller = require('../internals/caller');
  4. var Map = getBuiltIn('Map');
  5. module.exports = {
  6. Map: Map,
  7. set: caller('set', 2),
  8. get: caller('get', 1),
  9. has: caller('has', 1),
  10. remove: caller('delete', 1),
  11. proto: Map.prototype
  12. };