weak-map-helpers.js 276 B

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