of.js 286 B

12345678
  1. 'use strict';
  2. require('../../modules/es6.weak-map');
  3. require('../../modules/es7.weak-map.of');
  4. var $WeakMap = require('../../modules/_core').WeakMap;
  5. var $of = $WeakMap.of;
  6. module.exports = function of() {
  7. return $of.apply(typeof this === 'function' ? this : $WeakMap, arguments);
  8. };